Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_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.0008863/0.0008864, allocations: 90.75 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.001385/0.001385, 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 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006643, allocations: 13.56 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2559, allocations: 116.3 MB / 0.7874 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7059/0.9618, allocations: 146.7 MB / 0.9306 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.9647, allocations: 1.589 MB / 0.9322 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.9651, allocations: 10.31 kB / 0.9322 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.9657, allocations: 117.7 kB / 0.9323 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.967, allocations: 377.9 kB / 0.9327 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.9683, allocations: 353.3 kB / 0.933 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.9694, allocations: 0.6468 MB / 0.9336 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.9697, allocations: 133.8 kB / 0.9338 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/0.9703, allocations: 265.8 kB / 0.934 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.9705, allocations: 152.9 kB / 0.9342 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.9706, allocations: 8.688 kB / 0.9342 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.9719, allocations: 0.5208 MB / 0.9347 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.972, allocations: 73.41 kB / 0.9347 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.9725, allocations: 72.47 kB / 0.9348 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.973, allocations: 331.3 kB / 0.9351 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9731, allocations: 1.75 kB / 0.9351 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9731, allocations: 2.625 kB / 0.9351 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.9731, allocations: 0 / 0.9351 GB, free: 21.57 MB / 0.7325 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.0008352/0.9739, allocations: 0.5399 MB / 0.9357 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.974, allocations: 14.97 kB / 0.9357 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.974, allocations: 51.2 kB / 0.9357 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.9744, allocations: 56.48 kB / 0.9358 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.9748, allocations: 275.9 kB / 0.936 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9748, allocations: 11.06 kB / 0.936 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.9749, allocations: 16.28 kB / 0.9361 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.9753, allocations: 195.6 kB / 0.9362 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9753, allocations: 1.859 kB / 0.9362 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.9753, allocations: 5.969 kB / 0.9363 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.9754, allocations: 2.656 kB / 0.9363 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.9757, allocations: 137.4 kB / 0.9364 GB, free: 20.78 MB / 0.7325 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.001019/0.9767, allocations: 0.7973 MB / 0.9372 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.9769, allocations: 89.39 kB / 0.9373 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.9771, allocations: 81.7 kB / 0.9373 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.9774, allocations: 192.3 kB / 0.9375 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.9775, allocations: 33.34 kB / 0.9375 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.9775, allocations: 0 / 0.9375 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006375/0.9781, allocations: 225.5 kB / 0.9378 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.9782, allocations: 57.22 kB / 0.9378 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.9785, allocations: 271.1 kB / 0.9381 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.9785, allocations: 31.3 kB / 0.9381 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.9786, allocations: 146.7 kB / 0.9382 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.9786, allocations: 29.88 kB / 0.9383 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.9786, allocations: 3.875 kB / 0.9383 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9788, allocations: 335.1 kB / 0.9386 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.9789, allocations: 47.8 kB / 0.9386 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.9791, allocations: 98.8 kB / 0.9387 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.9792, allocations: 58.27 kB / 0.9388 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9792, allocations: 0 / 0.9388 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003091/0.9795, allocations: 166.2 kB / 0.9389 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.9796, allocations: 114.4 kB / 0.9391 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9796, allocations: 1.875 kB / 0.9391 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9796, allocations: 2.438 kB / 0.9391 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.9797, allocations: 27.41 kB / 0.9391 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.9798, allocations: 2.438 kB / 0.9391 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9799, allocations: 33.25 kB / 0.9391 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.98, allocations: 4.062 kB / 0.9391 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-06/0.98, allocations: 3.688 kB / 0.9391 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002664/0.9802, allocations: 121.1 kB / 0.9392 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.9803, allocations: 0.7812 kB / 0.9392 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.9803, allocations: 1.844 kB / 0.9392 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.9804, allocations: 25.19 kB / 0.9393 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.9804, allocations: 1.844 kB / 0.9393 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.9806, allocations: 29.31 kB / 0.9393 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.9806, allocations: 13.28 kB / 0.9393 GB, free: 19.06 MB / 0.7325 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.0001566/0.9807, allocations: 218.2 kB / 0.9395 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.9808, allocations: 28.58 kB / 0.9395 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.9812, allocations: 174.9 kB / 0.9397 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9812, allocations: 2.156 kB / 0.9397 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9812, allocations: 0 / 0.9397 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9812, allocations: 2.578 kB / 0.9397 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.9822, allocations: 0.5975 MB / 0.9403 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9822, allocations: 2.297 kB / 0.9403 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.9823, allocations: 24.61 kB / 0.9403 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.9823, allocations: 7.562 kB / 0.9403 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.9823, allocations: 8.703 kB / 0.9403 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.9823, allocations: 5.656 kB / 0.9404 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9824, allocations: 2 kB / 0.9404 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.9828, allocations: 308.2 kB / 0.9406 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.9829, allocations: 119.2 kB / 0.9408 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.9829, allocations: 2.906 kB / 0.9408 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.9832, allocations: 19.14 kB / 0.9408 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.9832, allocations: 19.02 kB / 0.9408 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.9832, allocations: 4.906 kB / 0.9408 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003503/0.9836, allocations: 197.3 kB / 0.941 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9836, allocations: 0.9688 kB / 0.941 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005776/0.9842, allocations: 96.94 kB / 0.9411 GB, free: 18.03 MB / 0.7325 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.001156/0.9854, allocations: 0.8992 MB / 0.942 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.9859, allocations: 173.5 kB / 0.9421 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9859, allocations: 4.125 kB / 0.9421 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.986, allocations: 66.75 kB / 0.9422 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.9869, allocations: 132.7 kB / 0.9423 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.9892, allocations: 1.339 MB / 0.9436 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.9896, allocations: 0.7574 MB / 0.9444 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.9899, allocations: 67.97 kB / 0.9444 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.99, allocations: 67.61 kB / 0.9445 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.134e-06/0.9901, allocations: 0.7188 kB / 0.9445 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/1.013, allocations: 6.547 MB / 0.9509 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.013, allocations: 226.4 kB / 0.9511 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/3.045, allocations: 0 / 0.9511 GB, free: 15.22 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: