Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.487/1.487, allocations: 287.4 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 185.4 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 100.3 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005305, allocations: 11.44 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.4895/0.6411, allocations: 146.7 MB / 1.122 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.6437, allocations: 1.591 MB / 1.123 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.644, allocations: 8.219 kB / 1.124 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.6444, allocations: 113.4 kB / 1.124 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.6454, allocations: 377.5 kB / 1.124 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.6463, allocations: 367.8 kB / 1.124 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.647, allocations: 0.6601 MB / 1.125 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.6473, allocations: 141.3 kB / 1.125 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.6477, allocations: 264.4 kB / 1.125 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.6479, allocations: 149.4 kB / 1.125 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.6479, allocations: 8.812 kB / 1.126 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.6488, allocations: 0.5254 MB / 1.126 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.6488, allocations: 70.75 kB / 1.126 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.6489, allocations: 71.98 kB / 1.126 GB, free: 16.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.6493, allocations: 334.3 kB / 1.126 GB, free: 16.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6494, allocations: 0 / 1.126 GB, free: 16.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6494, allocations: 0 / 1.126 GB, free: 16.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.6494, allocations: 0 / 1.126 GB, free: 16.87 MB / 0.698 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.0006277/0.65, allocations: 0.5449 MB / 1.127 GB, free: 16.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.65, allocations: 8.375 kB / 1.127 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.6501, allocations: 51.7 kB / 1.127 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.6504, allocations: 51.34 kB / 1.127 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.6507, allocations: 292.5 kB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6507, allocations: 11.75 kB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.6507, allocations: 16.09 kB / 1.127 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.651, allocations: 197.8 kB / 1.128 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6511, allocations: 0 / 1.128 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6511, allocations: 5.281 kB / 1.128 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6511, allocations: 2.312 kB / 1.128 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.6514, allocations: 141.6 kB / 1.128 GB, free: 16.05 MB / 0.698 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.0008128/0.6522, allocations: 0.7914 MB / 1.129 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.6524, allocations: 94.34 kB / 1.129 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.6525, allocations: 80.62 kB / 1.129 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.6528, allocations: 186.8 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.6528, allocations: 32.69 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.6528, allocations: 0 / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006026/0.6534, allocations: 238.7 kB / 1.129 GB, free: 15.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6535, allocations: 54.08 kB / 1.129 GB, free: 15.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.6537, allocations: 273.1 kB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.6537, allocations: 30.03 kB / 1.129 GB, free: 14.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.6538, allocations: 145.4 kB / 1.13 GB, free: 14.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.6538, allocations: 31.02 kB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.6539, allocations: 2.938 kB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.654, allocations: 332.2 kB / 1.13 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.6541, allocations: 46.39 kB / 1.13 GB, free: 14.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6542, allocations: 98.84 kB / 1.13 GB, free: 14.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.6544, allocations: 129 kB / 1.13 GB, free: 14.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6544, allocations: 0 / 1.13 GB, free: 14.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002866/0.6547, allocations: 172.8 kB / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.6548, allocations: 113.8 kB / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6548, allocations: 0 / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6548, allocations: 3.312 kB / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.6549, allocations: 31.22 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.655, allocations: 3.469 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6551, allocations: 27.02 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.6551, allocations: 7.312 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/0.6552, allocations: 2.656 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002361/0.6554, allocations: 121.9 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.6554, allocations: 0 / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-06/0.6554, allocations: 2.25 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.6555, allocations: 27.78 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.6555, allocations: 2.875 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.6557, allocations: 31.45 kB / 1.131 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6557, allocations: 5.75 kB / 1.131 GB, free: 14.27 MB / 0.698 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.0001253/0.6558, allocations: 220.6 kB / 1.131 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6559, allocations: 20.34 kB / 1.131 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.6562, allocations: 175.2 kB / 1.131 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6562, allocations: 0 / 1.131 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6562, allocations: 7.844 kB / 1.131 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6562, allocations: 0 / 1.131 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.657, allocations: 0.5982 MB / 1.132 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.657, allocations: 15.59 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.6571, allocations: 23.2 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6571, allocations: 5.141 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6572, allocations: 6.406 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6572, allocations: 2.625 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6572, allocations: 1.688 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.6575, allocations: 309.2 kB / 1.132 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.6576, allocations: 115.6 kB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.6577, allocations: 4.656 kB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.6579, allocations: 19.12 kB / 1.132 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.6579, allocations: 17.08 kB / 1.132 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.658, allocations: 7.422 kB / 1.132 GB, free: 13.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001804/0.6581, allocations: 194 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6581, allocations: 0 / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004123/0.6586, allocations: 96.19 kB / 1.133 GB, free: 13.2 MB / 0.698 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.0009032/0.6595, allocations: 0.8969 MB / 1.133 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.6599, allocations: 177.2 kB / 1.134 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6599, allocations: 0 / 1.134 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.6601, allocations: 70.97 kB / 1.134 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.661, allocations: 134.9 kB / 1.134 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.6628, allocations: 1.325 MB / 1.135 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6631, allocations: 0.7559 MB / 1.136 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00025/0.6634, allocations: 73.19 kB / 1.136 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6635, allocations: 72.72 kB / 1.136 GB, free: 11.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.6635, allocations: 0 / 1.136 GB, free: 11.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4218/1.085, allocations: 6.552 MB / 1.142 GB, free: 9.008 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003796/1.086, allocations: 237.1 kB / 1.143 GB, free: 8.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.889, allocations: 1.094 kB / 1.143 GB, free: 8.77 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)