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.9108/0.9108, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 168.9 kB / 182.2 MB, free: 9.461 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.519/1.519, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001058/0.001059, allocations: 96.05 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 287.9 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.344e-05, allocations: 0 / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4437, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.719/5.162, allocations: 1.828 GB / 2.585 GB, free: 190.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/5.163, allocations: 94.11 kB / 2.585 GB, free: 190.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8276/5.99, allocations: 219.4 MB / 2.799 GB, free: 208.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/5.99, allocations: 0 / 2.799 GB, free: 208.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.621e-05/5.99, allocations: 4.906 kB / 2.799 GB, free: 208.5 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.001131/5.991, allocations: 0.562 MB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/5.991, allocations: 8.031 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/5.992, allocations: 57.42 kB / 2.8 GB, free: 208.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/5.993, allocations: 305.7 kB / 2.8 GB, free: 207.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/5.993, allocations: 5.719 kB / 2.8 GB, free: 207.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/5.993, allocations: 10.88 kB / 2.8 GB, free: 207.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001885/5.993, allocations: 90.59 kB / 2.8 GB, free: 207.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/5.993, allocations: 147.6 kB / 2.8 GB, free: 207.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/5.993, allocations: 5.828 kB / 2.8 GB, free: 207.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/5.993, allocations: 0 / 2.8 GB, free: 207.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/5.993, allocations: 2.625 kB / 2.8 GB, free: 207.8 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.001037/5.994, allocations: 0.7529 MB / 2.801 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/5.994, allocations: 65.88 kB / 2.801 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/5.994, allocations: 54.77 kB / 2.801 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/5.995, allocations: 188.9 kB / 2.801 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/5.995, allocations: 33 kB / 2.801 GB, free: 207.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/5.995, allocations: 0 / 2.801 GB, free: 207.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004537/5.995, allocations: 133.5 kB / 2.802 GB, free: 207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/5.995, allocations: 51.41 kB / 2.802 GB, free: 207 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/5.995, allocations: 190.3 kB / 2.802 GB, free: 206.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/5.995, allocations: 25.7 kB / 2.802 GB, free: 206.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/5.995, allocations: 153 kB / 2.802 GB, free: 206.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/5.996, allocations: 31.67 kB / 2.802 GB, free: 206.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/5.996, allocations: 0 / 2.802 GB, free: 206.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/5.996, allocations: 328.3 kB / 2.802 GB, free: 206.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/5.996, allocations: 29.89 kB / 2.802 GB, free: 206.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/5.996, allocations: 88.08 kB / 2.802 GB, free: 206.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.013e-05/5.996, allocations: 37.88 kB / 2.803 GB, free: 206.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/5.996, allocations: 6.922 kB / 2.803 GB, free: 206.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/5.996, allocations: 122.5 kB / 2.803 GB, free: 206.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/5.996, allocations: 365.1 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/5.996, allocations: 0 / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/5.996, allocations: 1.906 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/5.996, allocations: 30.95 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/5.996, allocations: 5.609 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/5.997, allocations: 21.77 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/5.997, allocations: 3.688 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/5.997, allocations: 7.438 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001194/5.997, allocations: 67.19 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/5.997, allocations: 7.672 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/5.997, allocations: 3.938 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/5.997, allocations: 27.3 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/5.997, allocations: 0 / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/5.997, allocations: 20.36 kB / 2.803 GB, free: 205.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/5.997, allocations: 10.95 kB / 2.803 GB, free: 205.9 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 7.302e-05/5.997, allocations: 108.4 kB / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/5.997, allocations: 23.38 kB / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/5.997, allocations: 120.9 kB / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/5.997, allocations: 3.344 kB / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/5.997, allocations: 0 / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/5.997, allocations: 0 / 2.803 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/5.998, allocations: 0.5065 MB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/5.998, allocations: 7.406 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/5.998, allocations: 27.27 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/5.998, allocations: 3.688 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/5.998, allocations: 3.25 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/5.998, allocations: 6.938 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/5.998, allocations: 3.953 kB / 2.804 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/5.998, allocations: 346.5 kB / 2.804 GB, free: 205.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/5.999, allocations: 114.9 kB / 2.804 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/5.999, allocations: 7.891 kB / 2.804 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/5.999, allocations: 21.62 kB / 2.804 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/5.999, allocations: 13.77 kB / 2.804 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/5.999, allocations: 3.781 kB / 2.804 GB, free: 205 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000106/5.999, allocations: 153.9 kB / 2.805 GB, free: 204.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.999, allocations: 0 / 2.805 GB, free: 204.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006396/6, allocations: 151.1 kB / 2.805 GB, free: 204.9 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.001482/6.001, allocations: 1.027 MB / 2.806 GB, free: 204.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002645/6.001, allocations: 117.8 kB / 2.806 GB, free: 204.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/6.001, allocations: 0 / 2.806 GB, free: 204.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/6.001, allocations: 51.17 kB / 2.806 GB, free: 204.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/6.002, allocations: 107.4 kB / 2.806 GB, free: 204.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/6.003, allocations: 285.7 kB / 2.806 GB, free: 204.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/6.003, allocations: 0.7675 MB / 2.807 GB, free: 203.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002797/6.003, allocations: 68.95 kB / 2.807 GB, free: 203.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/6.003, allocations: 21.56 kB / 2.807 GB, free: 203.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/6.003, allocations: 0 / 2.807 GB, free: 203.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01443/6.018, allocations: 8.693 MB / 2.816 GB, free: 203.6 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)