Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 184.8 kB / 487.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.5 MB / 0.7824 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009132, allocations: 103.8 kB / 0.9219 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.356e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.284, allocations: 412.4 MB / 1.609 GB, free: 10.43 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.285, allocations: 80.88 kB / 1.609 GB, free: 10.39 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.9065/2.191, allocations: 170.3 MB / 1.775 GB, free: 380.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.184e-06/2.191, allocations: 0 / 1.775 GB, free: 380.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.067e-05/2.191, allocations: 13.75 kB / 1.775 GB, free: 380.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000957/2.192, allocations: 0.6703 MB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/2.192, allocations: 8.188 kB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.267e-05/2.192, allocations: 49.47 kB / 1.776 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0306/2.223, allocations: 14.58 MB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/2.223, allocations: 4.781 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/2.223, allocations: 12.72 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002219/2.223, allocations: 97.33 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/2.224, allocations: 135.8 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.224, allocations: 2.406 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/2.224, allocations: 3.5 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/2.224, allocations: 4.625 kB / 1.79 GB, free: 379.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/2.225, allocations: 0.7838 MB / 1.791 GB, free: 378.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/2.225, allocations: 100.6 kB / 1.791 GB, free: 378.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/2.225, allocations: 50.81 kB / 1.791 GB, free: 378.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/2.225, allocations: 340.9 kB / 1.792 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/2.225, allocations: 34.56 kB / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/2.225, allocations: 0 / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.0003481/2.226, allocations: 134.8 kB / 1.792 GB, free: 378.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/2.226, allocations: 56.17 kB / 1.792 GB, free: 378.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/2.226, allocations: 249.7 kB / 1.792 GB, free: 378.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/2.226, allocations: 29.55 kB / 1.792 GB, free: 378.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/2.226, allocations: 190.5 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/2.226, allocations: 39.38 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/2.226, allocations: 3.938 kB / 1.792 GB, free: 378.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/2.226, allocations: 344.7 kB / 1.793 GB, free: 377.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/2.226, allocations: 30.11 kB / 1.793 GB, free: 377.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/2.226, allocations: 82.08 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/2.226, allocations: 40.67 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/2.226, allocations: 3.656 kB / 1.793 GB, free: 377.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002455/2.227, allocations: 146 kB / 1.793 GB, free: 377.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/2.227, allocations: 183.3 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/2.227, allocations: 8.828 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/2.227, allocations: 1.375 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/2.227, allocations: 28.92 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/2.227, allocations: 3.125 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/2.227, allocations: 24.88 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/2.227, allocations: 12.52 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/2.227, allocations: 5.875 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001953/2.227, allocations: 73.72 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/2.227, allocations: 3.938 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/2.227, allocations: 1.344 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/2.227, allocations: 32.69 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/2.227, allocations: 1.594 kB / 1.793 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/2.228, allocations: 27.05 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/2.228, allocations: 6.062 kB / 1.793 GB, free: 377.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/2.228, allocations: 110.5 kB / 1.793 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002353/2.228, allocations: 136.9 kB / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/2.228, allocations: 31.12 kB / 1.794 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/2.228, allocations: 187.7 kB / 1.794 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/2.228, allocations: 4.781 kB / 1.794 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/2.228, allocations: 1.25 kB / 1.794 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.228, allocations: 0 / 1.794 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/2.229, allocations: 0.5277 MB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.229, allocations: 0.875 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/2.229, allocations: 32.88 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/2.229, allocations: 2.219 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/2.229, allocations: 1.469 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/2.229, allocations: 1.5 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.229, allocations: 3.062 kB / 1.794 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/2.229, allocations: 312.8 kB / 1.795 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/2.23, allocations: 132.1 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/2.23, allocations: 2.031 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/2.23, allocations: 28.14 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/2.23, allocations: 16.97 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/2.23, allocations: 7.719 kB / 1.795 GB, free: 376.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001921/2.23, allocations: 199.3 kB / 1.795 GB, free: 376.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/2.23, allocations: 0 / 1.795 GB, free: 376.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005911/2.231, allocations: 156.6 kB / 1.795 GB, free: 376.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/2.232, allocations: 1.232 MB / 1.796 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002642/2.232, allocations: 147.9 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.232, allocations: 0 / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/2.232, allocations: 60.92 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/2.233, allocations: 123.3 kB / 1.797 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/2.234, allocations: 466.2 kB / 1.797 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/2.234, allocations: 0.7968 MB / 1.798 GB, free: 374.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003722/2.234, allocations: 88.16 kB / 1.798 GB, free: 374.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/2.234, allocations: 110 kB / 1.798 GB, free: 374.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/2.234, allocations: 0.5312 kB / 1.798 GB, free: 374.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/2.261, allocations: 8.866 MB / 1.807 GB, free: 374.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/2.261, allocations: 172.6 kB / 1.807 GB, free: 374.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/4.443, allocations: 5.438 kB / 1.807 GB, free: 374.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat does not exist to compare? outputFormat=mat