Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") [: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/BuildSysPro 3.5.0/package.mo): time 0.7802/0.7802, allocations: 127.3 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 185.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 77.52 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.415e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.39, allocations: 348.7 MB / 0.9615 GB, free: 132.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.391, allocations: 90 kB / 0.9615 GB, free: 132.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.8496/2.24, allocations: 247.6 MB / 1.203 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.69e-05/2.241, allocations: 22.56 kB / 1.203 GB, free: 151.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00238/2.243, allocations: 0.9087 MB / 1.204 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/2.243, allocations: 9.25 kB / 1.204 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/2.244, allocations: 189.5 kB / 1.204 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03317/2.277, allocations: 11.41 MB / 1.216 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/2.278, allocations: 91.55 kB / 1.216 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/2.278, allocations: 23.09 kB / 1.216 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008301/2.279, allocations: 294.2 kB / 1.216 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/2.279, allocations: 399.6 kB / 1.216 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/2.279, allocations: 0 / 1.216 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/2.279, allocations: 0 / 1.216 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/2.279, allocations: 12 kB / 1.216 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/2.283, allocations: 2.404 MB / 1.219 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/2.283, allocations: 268 kB / 1.219 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/2.283, allocations: 153 kB / 1.219 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/2.283, allocations: 174.2 kB / 1.219 GB, free: 140 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/2.284, allocations: 220.5 kB / 1.22 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/2.284, allocations: 0 / 1.22 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29): time 0.004248/2.288, allocations: 0.8005 MB / 1.22 GB, free: 139 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/2.288, allocations: 85.11 kB / 1.22 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/2.288, allocations: 377.1 kB / 1.221 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/2.289, allocations: 29.7 kB / 1.221 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/2.289, allocations: 220 kB / 1.221 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/2.289, allocations: 94.66 kB / 1.221 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/2.289, allocations: 0 / 1.221 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/2.289, allocations: 358.8 kB / 1.221 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/2.289, allocations: 128 kB / 1.222 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/2.289, allocations: 226.8 kB / 1.222 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/2.29, allocations: 172.6 kB / 1.222 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/2.29, allocations: 0 / 1.222 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003596/2.294, allocations: 0.7815 MB / 1.223 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/2.294, allocations: 0.7135 MB / 1.223 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/2.294, allocations: 7.984 kB / 1.223 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/2.294, allocations: 76.12 kB / 1.223 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/2.295, allocations: 87.69 kB / 1.224 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/2.296, allocations: 0.7384 MB / 1.224 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/2.297, allocations: 93.44 kB / 1.224 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/2.297, allocations: 24.05 kB / 1.224 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/2.297, allocations: 4 kB / 1.224 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008367/2.298, allocations: 375.8 kB / 1.225 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/2.298, allocations: 7.938 kB / 1.225 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/2.298, allocations: 48.83 kB / 1.225 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/2.298, allocations: 88 kB / 1.225 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/2.299, allocations: 1.486 MB / 1.226 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/2.3, allocations: 71.75 kB / 1.226 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/2.3, allocations: 20.05 kB / 1.226 GB, free: 132.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001889/2.3, allocations: 149.1 kB / 1.227 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/2.3, allocations: 55.34 kB / 1.227 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/2.303, allocations: 0.7213 MB / 1.227 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/2.303, allocations: 8 kB / 1.227 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/2.303, allocations: 3.875 kB / 1.227 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00298/2.306, allocations: 0.8974 MB / 1.228 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/2.31, allocations: 1.281 MB / 1.229 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.31, allocations: 0 / 1.229 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/2.311, allocations: 63.95 kB / 1.23 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/2.311, allocations: 68.88 kB / 1.23 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/2.311, allocations: 11.97 kB / 1.23 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/2.317, allocations: 2.09 MB / 1.232 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.317, allocations: 3.906 kB / 1.232 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003463/2.32, allocations: 0.99 MB / 1.233 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/2.321, allocations: 184.2 kB / 1.233 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/2.321, allocations: 0 / 1.233 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/2.321, allocations: 79.89 kB / 1.233 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/2.322, allocations: 27.84 kB / 1.233 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/2.322, allocations: 15.98 kB / 1.233 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004042/2.322, allocations: 294.9 kB / 1.233 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001894/2.324, allocations: 375.3 kB / 1.234 GB, free: 124.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009788/2.325, allocations: 418.5 kB / 1.234 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001839/2.327, allocations: 0.7734 MB / 1.235 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.327, allocations: 0 / 1.235 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008643/2.328, allocations: 396.1 kB / 1.235 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/2.329, allocations: 209.3 kB / 1.235 GB, free: 123.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/2.331, allocations: 0.7789 MB / 1.236 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/2.332, allocations: 0.9325 MB / 1.237 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/2.332, allocations: 0 / 1.237 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.02231/2.354, allocations: 14 MB / 1.251 GB, free: 107.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)