Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7877/0.7877, allocations: 141.8 MB / 149.1 MB, free: 13.03 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 183.1 kB / 181.9 MB, free: 9.707 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.3 MB / 436 MB, free: 2.152 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 96.09 kB / 0.507 GB, free: 10.91 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 286.4 kB / 0.5884 GB, free: 7.75 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.574e-06, allocations: 0 / 0.6759 GB, free: 14.12 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 82.78 MB / 0.7567 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.8/4.24, allocations: 1.825 GB / 2.582 GB, free: 212.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/4.24, allocations: 84.44 kB / 2.582 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.8/5.04, allocations: 216.8 MB / 2.793 GB, free: 201.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 3.274e-05/5.04, allocations: 3.594 kB / 2.793 GB, free: 201.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002022/5.043, allocations: 0.6313 MB / 2.794 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/5.043, allocations: 11.81 kB / 2.794 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/5.043, allocations: 49.64 kB / 2.794 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/5.044, allocations: 287 kB / 2.794 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/5.044, allocations: 5.781 kB / 2.794 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/5.044, allocations: 10.09 kB / 2.794 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002863/5.044, allocations: 155.1 kB / 2.795 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/5.044, allocations: 194.5 kB / 2.795 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/5.044, allocations: 3.188 kB / 2.795 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/5.044, allocations: 2.719 kB / 2.795 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/5.044, allocations: 14.47 kB / 2.795 GB, free: 201.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/5.046, allocations: 0.8419 MB / 2.796 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/5.046, allocations: 121.7 kB / 2.796 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/5.046, allocations: 106.9 kB / 2.796 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/5.046, allocations: 193.7 kB / 2.796 GB, free: 200.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/5.046, allocations: 34.22 kB / 2.796 GB, free: 200.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/5.046, allocations: 0 / 2.796 GB, free: 200.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=14): time 0.0006051/5.047, allocations: 227.8 kB / 2.796 GB, free: 200.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/5.047, allocations: 51.41 kB / 2.796 GB, free: 200.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/5.047, allocations: 157.4 kB / 2.796 GB, free: 200.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/5.047, allocations: 25.7 kB / 2.796 GB, free: 200.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/5.047, allocations: 128.8 kB / 2.797 GB, free: 200.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/5.047, allocations: 45.7 kB / 2.797 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/5.047, allocations: 0 / 2.797 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/5.048, allocations: 329.2 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/5.048, allocations: 72.28 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/5.048, allocations: 111.7 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/5.048, allocations: 76.55 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/5.048, allocations: 0 / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002833/5.048, allocations: 204.1 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/5.048, allocations: 6.812 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/5.048, allocations: 0 / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/5.048, allocations: 0 / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/5.048, allocations: 40.42 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/5.048, allocations: 3.562 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/5.049, allocations: 28.53 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/5.049, allocations: 14.47 kB / 2.797 GB, free: 199.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.114e-05/5.049, allocations: 113.6 kB / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/5.049, allocations: 19.53 kB / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/5.049, allocations: 23.47 kB / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/5.049, allocations: 0 / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/5.049, allocations: 0 / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/5.049, allocations: 3.938 kB / 2.798 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/5.05, allocations: 0.6525 MB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/5.05, allocations: 6.688 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/5.05, allocations: 36.75 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/5.05, allocations: 6.875 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/5.05, allocations: 7.812 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/5.05, allocations: 6.312 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/5.05, allocations: 3.906 kB / 2.798 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003822/5.05, allocations: 426.6 kB / 2.799 GB, free: 199 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/5.051, allocations: 111.8 kB / 2.799 GB, free: 198.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/5.051, allocations: 7.625 kB / 2.799 GB, free: 198.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/5.051, allocations: 17.39 kB / 2.799 GB, free: 198.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/5.051, allocations: 14.27 kB / 2.799 GB, free: 198.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/5.051, allocations: 10.94 kB / 2.799 GB, free: 198.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 8.288e-05/5.051, allocations: 133.7 kB / 2.799 GB, free: 198.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005491/5.052, allocations: 114.3 kB / 2.799 GB, free: 198.8 MB / 0.6982 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 (14): * Single equations (assignments): 14 * 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.001476/5.053, allocations: 1.019 MB / 2.8 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003003/5.053, allocations: 168.3 kB / 2.8 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/5.053, allocations: 3.5 kB / 2.8 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/5.053, allocations: 103.4 kB / 2.8 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/5.054, allocations: 78.17 kB / 2.8 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/5.055, allocations: 308.6 kB / 2.801 GB, free: 198.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/5.055, allocations: 0.7892 MB / 2.802 GB, free: 197.8 MB / 0.6982 GB Notification: Performance of SimCode: time 2.3e-07/5.055, allocations: 2.812 kB / 2.802 GB, free: 197.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.01411/5.069, allocations: 8.695 MB / 2.81 GB, free: 197.6 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)