Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 184.6 kB / 7.463 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5906/0.5906, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.091/1.091, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 98.7 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/6.031e-06, allocations: 2.906 kB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.511/2.611, allocations: 1.875 GB / 2.508 GB, free: 59.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/2.612, allocations: 90.62 kB / 2.508 GB, free: 59.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.137/3.749, allocations: 462.1 MB / 2.96 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.738e-05/3.749, allocations: 15.53 kB / 2.96 GB, free: 146.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001329/3.75, allocations: 1.007 MB / 2.961 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/3.75, allocations: 8.031 kB / 2.961 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/3.751, allocations: 185.9 kB / 2.961 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/3.752, allocations: 0.7047 MB / 2.961 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/3.752, allocations: 15.94 kB / 2.961 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/3.752, allocations: 28 kB / 2.961 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003831/3.753, allocations: 277.5 kB / 2.962 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/3.753, allocations: 377.1 kB / 2.962 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/3.753, allocations: 4 kB / 2.962 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/3.753, allocations: 0 / 2.962 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/3.753, allocations: 16.64 kB / 2.962 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/3.755, allocations: 1.895 MB / 2.964 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/3.756, allocations: 320.5 kB / 2.964 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/3.756, allocations: 148.7 kB / 2.964 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/3.756, allocations: 194.1 kB / 2.965 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/3.756, allocations: 34.8 kB / 2.965 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 1.303e-06/3.756, allocations: 3.25 kB / 2.965 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.0008733/3.757, allocations: 401.7 kB / 2.965 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.308e-05/3.757, allocations: 51.41 kB / 2.965 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/3.757, allocations: 0.6444 MB / 2.966 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/3.758, allocations: 36.7 kB / 2.966 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/3.758, allocations: 220.7 kB / 2.966 GB, free: 140 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/3.758, allocations: 98.5 kB / 2.966 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/3.758, allocations: 0 / 2.966 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/3.758, allocations: 321.9 kB / 2.966 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/3.758, allocations: 108 kB / 2.966 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/3.758, allocations: 271.6 kB / 2.967 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/3.758, allocations: 137.7 kB / 2.967 GB, free: 139 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/3.758, allocations: 4 kB / 2.967 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006066/3.759, allocations: 410 kB / 2.967 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/3.759, allocations: 270 kB / 2.968 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/3.759, allocations: 0 / 2.968 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/3.759, allocations: 32.84 kB / 2.968 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/3.76, allocations: 111.1 kB / 2.968 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/3.76, allocations: 1.173 MB / 2.969 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/3.761, allocations: 93.8 kB / 2.969 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/3.761, allocations: 19.98 kB / 2.969 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/3.761, allocations: 7.656 kB / 2.969 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004555/3.761, allocations: 284.9 kB / 2.969 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/3.761, allocations: 0 / 2.969 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/3.762, allocations: 40.86 kB / 2.969 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/3.762, allocations: 98.91 kB / 2.969 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/3.763, allocations: 1.394 MB / 2.971 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/3.764, allocations: 90.2 kB / 2.971 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/3.764, allocations: 16 kB / 2.971 GB, free: 134.8 MB / 0.6823 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/3.764, allocations: 109.1 kB / 2.971 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/3.764, allocations: 67.16 kB / 2.971 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/3.764, allocations: 417.7 kB / 2.971 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/3.764, allocations: 4 kB / 2.971 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/3.764, allocations: 0 / 2.971 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/3.764, allocations: 0 / 2.971 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/3.766, allocations: 1.132 MB / 2.972 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/3.766, allocations: 4 kB / 2.972 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/3.766, allocations: 67.89 kB / 2.973 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.471e-05/3.766, allocations: 28.86 kB / 2.973 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/3.766, allocations: 10.55 kB / 2.973 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/3.767, allocations: 1.164 MB / 2.974 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/3.767, allocations: 4.047 kB / 2.974 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006725/3.767, allocations: 0.7289 MB / 2.974 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/3.767, allocations: 212.1 kB / 2.975 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/3.768, allocations: 4 kB / 2.975 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/3.768, allocations: 55.19 kB / 2.975 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/3.768, allocations: 31.86 kB / 2.975 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/3.768, allocations: 12 kB / 2.975 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004428/3.769, allocations: 0.5109 MB / 2.975 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008765/3.77, allocations: 395.4 kB / 2.976 GB, free: 129.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/3.771, allocations: 1.426 MB / 2.977 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008875/3.772, allocations: 0.5603 MB / 2.978 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/3.772, allocations: 0 / 2.978 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/3.772, allocations: 169.8 kB / 2.978 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009828/3.773, allocations: 222.2 kB / 2.978 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/3.774, allocations: 0.9142 MB / 2.979 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/3.775, allocations: 1.012 MB / 2.98 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/3.775, allocations: 0 / 2.98 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02383/3.799, allocations: 21.2 MB / 3 GB, free: 104.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)