Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7685/0.7685, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001091/0.001091, allocations: 177.2 kB / 187.3 MB, free: 11.88 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.565/1.565, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009673/0.0009675, allocations: 102.8 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 268.8 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.057e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4811, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.33, allocations: 1.833 GB / 2.597 GB, free: 216.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/5.33, allocations: 92.67 kB / 2.597 GB, free: 216 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.417/12.75, allocations: 2.09 GB / 4.687 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/12.75, allocations: 0 / 4.687 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001057/12.75, allocations: 51.92 kB / 4.687 GB, free: 7.68 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003259/12.75, allocations: 1.644 MB / 4.689 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/12.75, allocations: 8.031 kB / 4.689 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/12.75, allocations: 200.2 kB / 4.689 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/12.75, allocations: 0.9388 MB / 4.69 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/12.75, allocations: 133.3 kB / 4.69 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/12.75, allocations: 88 kB / 4.69 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/12.75, allocations: 0.8631 MB / 4.691 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/12.75, allocations: 4 kB / 4.691 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/12.75, allocations: 32 kB / 4.691 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/12.75, allocations: 20 kB / 4.691 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/12.75, allocations: 463.5 kB / 4.692 GB, free: 3.105 MB / 0.7292 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.004006/12.76, allocations: 4.853 MB / 4.696 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/12.76, allocations: 404.6 kB / 4.697 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/12.76, allocations: 240 kB / 4.697 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/12.76, allocations: 105 kB / 4.697 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/12.76, allocations: 54.48 kB / 4.697 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 3.196e-06/12.76, allocations: 0 / 4.697 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.001077/12.76, allocations: 453.4 kB / 4.698 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/12.76, allocations: 401.9 kB / 4.698 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/12.76, allocations: 1.087 MB / 4.699 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/12.76, allocations: 37.7 kB / 4.699 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/12.76, allocations: 0.5474 MB / 4.7 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/12.76, allocations: 114.5 kB / 4.7 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/12.76, allocations: 8 kB / 4.7 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001055/12.76, allocations: 314 kB / 4.7 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/12.76, allocations: 75.98 kB / 4.7 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/12.76, allocations: 348.5 kB / 4.701 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/12.76, allocations: 130 kB / 4.701 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/12.76, allocations: 4 kB / 4.701 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006549/12.76, allocations: 461.3 kB / 4.701 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/12.76, allocations: 9.25 kB / 4.701 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/12.76, allocations: 4 kB / 4.701 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/12.76, allocations: 73.89 kB / 4.701 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/12.76, allocations: 55.91 kB / 4.701 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/12.77, allocations: 2.892 MB / 4.704 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009913/12.77, allocations: 131 kB / 4.704 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/12.77, allocations: 24.09 kB / 4.704 GB, free: 5.297 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/12.77, allocations: 141.1 kB / 4.704 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/12.77, allocations: 138.3 kB / 4.704 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/12.77, allocations: 128.1 kB / 4.705 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/12.77, allocations: 4 kB / 4.705 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/12.77, allocations: 8 kB / 4.705 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/12.77, allocations: 4.188 kB / 4.705 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/12.77, allocations: 2.481 MB / 4.707 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/12.77, allocations: 8.688 kB / 4.707 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/12.77, allocations: 51.91 kB / 4.707 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/12.77, allocations: 69.67 kB / 4.707 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/12.77, allocations: 8 kB / 4.707 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5651/13.34, allocations: 2.89 MB / 4.71 GB, free: 79.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/13.34, allocations: 8.094 kB / 4.71 GB, free: 79.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/13.34, allocations: 0.9598 MB / 4.711 GB, free: 78.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/13.34, allocations: 252.2 kB / 4.711 GB, free: 78.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/13.34, allocations: 12.77 kB / 4.711 GB, free: 78.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/13.34, allocations: 71.42 kB / 4.711 GB, free: 78.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/13.34, allocations: 42.52 kB / 4.711 GB, free: 78.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/13.34, allocations: 17.56 kB / 4.711 GB, free: 78.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001503/13.34, allocations: 0.8508 MB / 4.712 GB, free: 78.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/13.34, allocations: 0 / 4.712 GB, free: 78.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002911/13.34, allocations: 0.6156 MB / 4.713 GB, free: 78.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00677/13.35, allocations: 3.518 MB / 4.716 GB, free: 76.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009993/13.35, allocations: 491.8 kB / 4.717 GB, free: 76.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/13.35, allocations: 0 / 4.717 GB, free: 76.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/13.35, allocations: 381.4 kB / 4.717 GB, free: 76.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/13.36, allocations: 0.7532 MB / 4.718 GB, free: 76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/13.36, allocations: 1.361 MB / 4.719 GB, free: 75.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/13.36, allocations: 1.159 MB / 4.72 GB, free: 74.72 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008464/13.36, allocations: 242 kB / 4.72 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/13.36, allocations: 78.19 kB / 4.72 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/13.36, allocations: 2.516 kB / 4.72 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.09151/13.45, allocations: 67.56 MB / 4.786 GB, free: 72.48 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)