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 2.933/2.933, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001573/0.001573, allocations: 182.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001232/0.001232, allocations: 88.89 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009102/0.0009106, allocations: 15.97 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8877/1.103, allocations: 135.6 MB / 1.111 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003947/1.107, allocations: 1.619 MB / 1.112 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/1.107, allocations: 8.375 kB / 1.112 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00092/1.108, allocations: 180.2 kB / 1.112 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/1.111, allocations: 492.2 kB / 1.113 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/1.113, allocations: 431.8 kB / 1.113 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001177/1.114, allocations: 362.6 kB / 1.114 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/1.115, allocations: 138.2 kB / 1.114 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/1.116, allocations: 219 kB / 1.114 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/1.116, allocations: 107.8 kB / 1.114 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/1.116, allocations: 11.5 kB / 1.114 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/1.117, allocations: 383.8 kB / 1.115 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/1.118, allocations: 68.89 kB / 1.115 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/1.118, allocations: 69.48 kB / 1.115 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008284/1.118, allocations: 280.3 kB / 1.115 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.119, allocations: 0 / 1.115 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.554e-06/1.119, allocations: 1 kB / 1.115 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.119, allocations: 0 / 1.115 GB, free: 0.9414 MB / 0.6823 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.00118/1.12, allocations: 0.5338 MB / 1.115 GB, free: 16.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.12, allocations: 8.469 kB / 1.115 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/1.12, allocations: 48.16 kB / 1.115 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/1.12, allocations: 53.3 kB / 1.116 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/1.121, allocations: 280.3 kB / 1.116 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/1.121, allocations: 17.08 kB / 1.116 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/1.121, allocations: 13.34 kB / 1.116 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/1.122, allocations: 198.2 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.122, allocations: 0 / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/1.122, allocations: 6.484 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.122, allocations: 3 kB / 1.116 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/1.122, allocations: 143 kB / 1.116 GB, free: 16.13 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.001683/1.124, allocations: 0.7883 MB / 1.117 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/1.124, allocations: 99.38 kB / 1.117 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.686e-05/1.125, allocations: 13.08 kB / 1.117 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.125, allocations: 31.56 kB / 1.117 GB, free: 15.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/1.125, allocations: 0 / 1.117 GB, free: 15.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001127/1.126, allocations: 228.7 kB / 1.117 GB, free: 15.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.126, allocations: 53.27 kB / 1.117 GB, free: 15.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/1.126, allocations: 266.9 kB / 1.118 GB, free: 15.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/1.126, allocations: 27.77 kB / 1.118 GB, free: 15.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.126, allocations: 144.7 kB / 1.118 GB, free: 15.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/1.127, allocations: 41.64 kB / 1.118 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/1.127, allocations: 384 / 1.118 GB, free: 15.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.127, allocations: 337.7 kB / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/1.127, allocations: 41.59 kB / 1.118 GB, free: 14.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/1.127, allocations: 106.7 kB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.127, allocations: 55.17 kB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.127, allocations: 0 / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006034/1.128, allocations: 171.8 kB / 1.118 GB, free: 14.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.128, allocations: 365.7 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-06/1.128, allocations: 1.188 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.128, allocations: 1.094 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.129, allocations: 24.28 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.129, allocations: 1.766 kB / 1.119 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/1.129, allocations: 27.44 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/1.129, allocations: 6.062 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/1.129, allocations: 4.031 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004829/1.13, allocations: 118.5 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.13, allocations: 4.703 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/1.13, allocations: 2.281 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.13, allocations: 26.23 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.13, allocations: 3.219 kB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/1.13, allocations: 27.47 kB / 1.119 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/1.13, allocations: 11.48 kB / 1.119 GB, free: 14.34 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.0002901/1.13, allocations: 216.9 kB / 1.119 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/1.131, allocations: 26.48 kB / 1.119 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/1.131, allocations: 165.7 kB / 1.119 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.131, allocations: 4 kB / 1.119 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.131, allocations: 0 / 1.119 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.131, allocations: 9.25 kB / 1.119 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/1.133, allocations: 0.5961 MB / 1.12 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.133, allocations: 6.922 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.133, allocations: 23.09 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.133, allocations: 2.781 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/1.133, allocations: 7.844 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.133, allocations: 6.688 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.133, allocations: 3.406 kB / 1.12 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/1.134, allocations: 394.4 kB / 1.12 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/1.134, allocations: 114.1 kB / 1.121 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/1.134, allocations: 6.312 kB / 1.121 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.134, allocations: 23.64 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/1.134, allocations: 17.12 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/1.134, allocations: 5.438 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003285/1.135, allocations: 196.1 kB / 1.121 GB, free: 13.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.135, allocations: 0 / 1.121 GB, free: 13.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007393/1.135, allocations: 98.25 kB / 1.121 GB, free: 13.15 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.001612/1.137, allocations: 1.46 MB / 1.122 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008006/1.138, allocations: 179.3 kB / 1.123 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.138, allocations: 0 / 1.123 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/1.138, allocations: 65.33 kB / 1.123 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.14, allocations: 135.3 kB / 1.123 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/1.143, allocations: 1.762 MB / 1.124 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/1.143, allocations: 0.761 MB / 1.125 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004729/1.144, allocations: 67.62 kB / 1.125 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.144, allocations: 66.97 kB / 1.125 GB, free: 10.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.144, allocations: 1.859 kB / 1.125 GB, free: 10.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/1.176, allocations: 6.532 MB / 1.132 GB, free: 8.695 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003575/1.176, allocations: 237.1 kB / 1.132 GB, free: 8.449 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.841, allocations: 0 / 1.132 GB, free: 8.449 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)