Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7539/0.7539, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 188.6 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 441.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009447, allocations: 97.33 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 264.8 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.426e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5031, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.122/5.625, allocations: 1.828 GB / 2.592 GB, free: 178.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/5.625, allocations: 92.22 kB / 2.593 GB, free: 178.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8783/6.503, allocations: 222.2 MB / 2.81 GB, free: 207.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/6.504, allocations: 0 / 2.81 GB, free: 207.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.655e-05/6.504, allocations: 3.844 kB / 2.81 GB, free: 207.4 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.0008808/6.504, allocations: 0.5551 MB / 2.81 GB, free: 207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/6.504, allocations: 11.59 kB / 2.81 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/6.505, allocations: 58.11 kB / 2.81 GB, free: 207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/6.505, allocations: 303.8 kB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/6.505, allocations: 14.91 kB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/6.505, allocations: 19.12 kB / 2.81 GB, free: 206.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/6.506, allocations: 176.2 kB / 2.811 GB, free: 206.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/6.506, allocations: 0 / 2.811 GB, free: 206.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/6.506, allocations: 5.484 kB / 2.811 GB, free: 206.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/6.506, allocations: 7.875 kB / 2.811 GB, free: 206.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/6.506, allocations: 96.28 kB / 2.811 GB, free: 206.7 MB / 0.698 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.0009485/6.507, allocations: 0.7848 MB / 2.812 GB, free: 206.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/6.507, allocations: 70.41 kB / 2.812 GB, free: 206.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/6.507, allocations: 57.34 kB / 2.812 GB, free: 206.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/6.507, allocations: 190 kB / 2.812 GB, free: 206 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/6.507, allocations: 34.56 kB / 2.812 GB, free: 205.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/6.507, allocations: 2.531 kB / 2.812 GB, free: 205.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003673/6.508, allocations: 139.3 kB / 2.812 GB, free: 205.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/6.508, allocations: 55.34 kB / 2.812 GB, free: 205.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/6.508, allocations: 232.4 kB / 2.812 GB, free: 205.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/6.508, allocations: 32.14 kB / 2.812 GB, free: 205.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/6.508, allocations: 150.1 kB / 2.812 GB, free: 205.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/6.508, allocations: 35.27 kB / 2.812 GB, free: 205.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/6.508, allocations: 0 / 2.812 GB, free: 205.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/6.508, allocations: 340.5 kB / 2.813 GB, free: 205.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/6.508, allocations: 27.91 kB / 2.813 GB, free: 205.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/6.508, allocations: 92.42 kB / 2.813 GB, free: 205.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/6.508, allocations: 36.14 kB / 2.813 GB, free: 205.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/6.508, allocations: 2.75 kB / 2.813 GB, free: 205.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/6.509, allocations: 127.9 kB / 2.813 GB, free: 205.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/6.509, allocations: 366.7 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/6.509, allocations: 0 / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/6.509, allocations: 5.344 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/6.509, allocations: 27.72 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/6.509, allocations: 2.906 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/6.509, allocations: 30.16 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/6.509, allocations: 9.125 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/6.509, allocations: 4.156 kB / 2.813 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001241/6.509, allocations: 77.97 kB / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/6.509, allocations: 0 / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/6.509, allocations: 7.578 kB / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/6.509, allocations: 28.42 kB / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/6.509, allocations: 0 / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/6.51, allocations: 31.59 kB / 2.814 GB, free: 204.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/6.51, allocations: 7.125 kB / 2.814 GB, free: 204.8 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 () * 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 6.759e-05/6.51, allocations: 117.5 kB / 2.814 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/6.51, allocations: 18.66 kB / 2.814 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/6.51, allocations: 133.2 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/6.51, allocations: 7.188 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/6.51, allocations: 96 / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/6.51, allocations: 7.891 kB / 2.814 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/6.511, allocations: 0.554 MB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/6.511, allocations: 3.125 kB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/6.511, allocations: 28.19 kB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/6.511, allocations: 0 / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/6.511, allocations: 3.969 kB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/6.511, allocations: 7.172 kB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.511, allocations: 1.125 kB / 2.814 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/6.511, allocations: 360.7 kB / 2.815 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/6.511, allocations: 108.4 kB / 2.815 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/6.511, allocations: 7.469 kB / 2.815 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/6.511, allocations: 19.77 kB / 2.815 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/6.511, allocations: 12.97 kB / 2.815 GB, free: 203.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/6.511, allocations: 10.81 kB / 2.815 GB, free: 203.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000134/6.512, allocations: 193.1 kB / 2.815 GB, free: 203.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.512, allocations: 0 / 2.815 GB, free: 203.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000678/6.512, allocations: 178.2 kB / 2.815 GB, free: 203.8 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 () * 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.001122/6.513, allocations: 0.8903 MB / 2.816 GB, free: 203.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002351/6.514, allocations: 138.5 kB / 2.816 GB, free: 203.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.514, allocations: 3.594 kB / 2.816 GB, free: 203.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/6.514, allocations: 47.56 kB / 2.816 GB, free: 203.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/6.514, allocations: 129.7 kB / 2.817 GB, free: 203.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/6.515, allocations: 307.9 kB / 2.817 GB, free: 203.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/6.515, allocations: 0.7655 MB / 2.818 GB, free: 202.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002616/6.515, allocations: 85.64 kB / 2.818 GB, free: 202.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/6.515, allocations: 20 kB / 2.818 GB, free: 202.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/6.515, allocations: 0 / 2.818 GB, free: 202.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02067/6.536, allocations: 17.79 MB / 2.835 GB, free: 201.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)