Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.4 MB / 0.6655 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7533, allocations: 142.3 MB / 0.9538 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1756/0.929, allocations: 146.7 MB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.9326, allocations: 1.598 MB / 1.099 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006861/0.9334, allocations: 7.938 kB / 1.099 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.9342, allocations: 115.2 kB / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.9359, allocations: 381.2 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.9373, allocations: 358.7 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.9384, allocations: 0.6395 MB / 1.1 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.9388, allocations: 132.5 kB / 1.1 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008565/0.9397, allocations: 270.8 kB / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.94, allocations: 151.3 kB / 1.101 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.9401, allocations: 11.94 kB / 1.101 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.9414, allocations: 0.5223 MB / 1.101 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.9415, allocations: 79.72 kB / 1.101 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.9417, allocations: 65.58 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.9424, allocations: 331.2 kB / 1.102 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9424, allocations: 0 / 1.102 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9424, allocations: 4 kB / 1.102 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.9424, allocations: 4 kB / 1.102 GB, free: 8.406 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009795/0.9434, allocations: 0.5372 MB / 1.102 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.9435, allocations: 12.03 kB / 1.102 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.702e-05/0.9436, allocations: 46.55 kB / 1.102 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004363/0.944, allocations: 59.53 kB / 1.102 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.9445, allocations: 277.5 kB / 1.102 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9445, allocations: 20 kB / 1.102 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.9446, allocations: 16 kB / 1.103 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.945, allocations: 200 kB / 1.103 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.945, allocations: 0 / 1.103 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.945, allocations: 8 kB / 1.103 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9451, allocations: 4 kB / 1.103 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.9454, allocations: 143.8 kB / 1.103 GB, free: 6.988 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0012/0.9466, allocations: 0.7809 MB / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.9469, allocations: 94.47 kB / 1.104 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.9471, allocations: 80.88 kB / 1.104 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.9474, allocations: 190.2 kB / 1.104 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9474, allocations: 34.56 kB / 1.104 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.9474, allocations: 0 / 1.104 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006712/0.9481, allocations: 233.2 kB / 1.104 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.9482, allocations: 51.41 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.9484, allocations: 271 kB / 1.105 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.9485, allocations: 29.7 kB / 1.105 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.9486, allocations: 147.9 kB / 1.105 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9486, allocations: 39.83 kB / 1.105 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.9486, allocations: 0 / 1.105 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9488, allocations: 334.8 kB / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.9489, allocations: 43.95 kB / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.9491, allocations: 105 kB / 1.105 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.9492, allocations: 47.97 kB / 1.105 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.9492, allocations: 0 / 1.105 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003387/0.9495, allocations: 173.3 kB / 1.105 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.9496, allocations: 112.7 kB / 1.106 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9496, allocations: 64 / 1.106 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.9497, allocations: 11.95 kB / 1.106 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.9498, allocations: 27.92 kB / 1.106 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.9498, allocations: 0 / 1.106 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.95, allocations: 27.88 kB / 1.106 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.95, allocations: 8 kB / 1.106 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.95, allocations: 4 kB / 1.106 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002713/0.9503, allocations: 111.9 kB / 1.106 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9503, allocations: 11.88 kB / 1.106 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.9503, allocations: 0 / 1.106 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.9505, allocations: 28.02 kB / 1.106 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.9505, allocations: 3.984 kB / 1.106 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.9507, allocations: 23.83 kB / 1.106 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.9507, allocations: 8 kB / 1.106 GB, free: 3.789 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001573/0.9509, allocations: 217.1 kB / 1.106 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.9509, allocations: 27.72 kB / 1.106 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.9513, allocations: 171.3 kB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9513, allocations: 0 / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9513, allocations: 0 / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9513, allocations: 0 / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009386/0.9523, allocations: 0.6015 MB / 1.107 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9523, allocations: 4 kB / 1.107 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.9524, allocations: 27.98 kB / 1.107 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.9524, allocations: 4 kB / 1.107 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9524, allocations: 0 / 1.107 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.9524, allocations: 4.281 kB / 1.107 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.9525, allocations: 11.89 kB / 1.107 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.9529, allocations: 309.3 kB / 1.107 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.953, allocations: 113.1 kB / 1.107 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.9531, allocations: 4 kB / 1.107 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.9533, allocations: 19.98 kB / 1.107 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.9533, allocations: 15.94 kB / 1.107 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.9534, allocations: 11.98 kB / 1.107 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002116/0.9536, allocations: 193.9 kB / 1.107 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9536, allocations: 3.938 kB / 1.107 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005283/0.9541, allocations: 95.84 kB / 1.108 GB, free: 1.824 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0009746/0.9551, allocations: 0.9063 MB / 1.108 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.9556, allocations: 171.8 kB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9556, allocations: 0 / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.9558, allocations: 76.39 kB / 1.109 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.9566, allocations: 136.1 kB / 1.109 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.9589, allocations: 1.327 MB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.9592, allocations: 0.756 MB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.9595, allocations: 66.23 kB / 1.111 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.9596, allocations: 67.42 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.9596, allocations: 0 / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.9814, allocations: 6.556 MB / 1.117 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.9817, allocations: 234.9 kB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.847, allocations: 0 / 1.118 GB, free: 7.586 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat does not exist to compare? outputFormat=mat