Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") [: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/Annex60 1.0.0/package.mo): time 0.298/0.298, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001422/0.001422, allocations: 184.8 kB / 75.37 MB, free: 1.484 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.31/1.31, allocations: 194.2 MB / 283.2 MB, free: 3.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001812/0.001812, allocations: 105.4 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.044e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.042, allocations: 2.145 GB / 2.597 GB, free: 42.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/5.042, allocations: 87.95 kB / 2.597 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.889/8.932, allocations: 1.002 GB / 3.599 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003141/8.932, allocations: 59.92 kB / 3.599 GB, free: 0.875 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.007173/8.939, allocations: 2.23 MB / 3.602 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/8.94, allocations: 11.97 kB / 3.602 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/8.944, allocations: 0.6218 MB / 3.602 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/8.951, allocations: 1.64 MB / 3.604 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/8.951, allocations: 40 kB / 3.604 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000537/8.951, allocations: 87.91 kB / 3.604 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002982/8.954, allocations: 1.11 MB / 3.605 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/8.958, allocations: 1.33 MB / 3.606 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/8.958, allocations: 3.984 kB / 3.606 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/8.958, allocations: 8.156 kB / 3.606 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/8.958, allocations: 46.58 kB / 3.606 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/8.971, allocations: 6.059 MB / 3.612 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/8.972, allocations: 0.7514 MB / 3.613 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/8.973, allocations: 411.2 kB / 3.613 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/8.974, allocations: 279.9 kB / 3.614 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009573/8.975, allocations: 0.6173 MB / 3.614 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 5.089e-06/8.975, allocations: 0 / 3.614 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80): time 0.3574/9.332, allocations: 1.126 MB / 3.615 GB, free: 93.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/9.332, allocations: 480.4 kB / 3.616 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/9.335, allocations: 0.9786 MB / 3.617 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/9.335, allocations: 29.52 kB / 3.617 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/9.336, allocations: 0.5883 MB / 3.617 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/9.336, allocations: 260.3 kB / 3.618 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/9.336, allocations: 7.031 kB / 3.618 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001118/9.336, allocations: 344.2 kB / 3.618 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/9.337, allocations: 352.1 kB / 3.618 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/9.338, allocations: 0.6662 MB / 3.619 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/9.339, allocations: 0.4899 MB / 3.62 GB, free: 91.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/9.339, allocations: 3.344 kB / 3.62 GB, free: 91.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003049/9.342, allocations: 1.234 MB / 3.621 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005532/9.342, allocations: 2.05 MB / 3.623 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/9.342, allocations: 6.719 kB / 3.623 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/9.343, allocations: 60.47 kB / 3.623 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009844/9.344, allocations: 200.2 kB / 3.623 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000461/9.344, allocations: 0.6052 MB / 3.624 GB, free: 88.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/9.346, allocations: 159.2 kB / 3.624 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/9.346, allocations: 42.78 kB / 3.624 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/9.346, allocations: 3.062 kB / 3.624 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001831/9.348, allocations: 1.043 MB / 3.625 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/9.348, allocations: 10.98 kB / 3.625 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/9.348, allocations: 48.41 kB / 3.625 GB, free: 88.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/9.349, allocations: 192 kB / 3.625 GB, free: 88.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/9.351, allocations: 1.428 MB / 3.626 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/9.352, allocations: 125.7 kB / 3.627 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/9.352, allocations: 45.08 kB / 3.627 GB, free: 87.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/9.353, allocations: 163.3 kB / 3.627 GB, free: 87.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/9.353, allocations: 157 kB / 3.627 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/9.356, allocations: 1.059 MB / 3.628 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/9.356, allocations: 6.625 kB / 3.628 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/9.356, allocations: 3.25 kB / 3.628 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/9.358, allocations: 0.9296 MB / 3.629 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/9.363, allocations: 2.412 MB / 3.631 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/9.363, allocations: 3.844 kB / 3.631 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/9.364, allocations: 158 kB / 3.631 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/9.364, allocations: 57.72 kB / 3.631 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/9.364, allocations: 7.781 kB / 3.631 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/9.366, allocations: 1.547 MB / 3.633 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/9.366, allocations: 3.938 kB / 3.633 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003296/9.37, allocations: 1.698 MB / 3.635 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/9.371, allocations: 361.3 kB / 3.635 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/9.371, allocations: 9.188 kB / 3.635 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/9.373, allocations: 106.4 kB / 3.635 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/9.373, allocations: 35.3 kB / 3.635 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/9.373, allocations: 37.09 kB / 3.635 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001714/9.375, allocations: 0.7379 MB / 3.636 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004291/9.379, allocations: 0.993 MB / 3.637 GB, free: 84.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004614/9.384, allocations: 2.557 MB / 3.639 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004008/9.388, allocations: 1.706 MB / 3.641 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/9.388, allocations: 7.062 kB / 3.641 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/9.389, allocations: 0.5629 MB / 3.642 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/9.393, allocations: 0.6533 MB / 3.642 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/9.402, allocations: 2.589 MB / 3.645 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/9.404, allocations: 1.528 MB / 3.646 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.572e-06/9.404, allocations: 0 / 3.646 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.0826/9.487, allocations: 45.33 MB / 3.69 GB, free: 80.51 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1)