Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.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/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/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.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Humidifiers.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/Complex 4.0.0+maint.om/package.mo): time 0.003224/0.003224, allocations: 180.8 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6901/0.6901, allocations: 130.6 MB / 138.5 MB, free: 2.164 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 391.4 MB, free: 13.19 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.0009237/0.0009236, allocations: 100.6 kB / 473.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.098e-06/9.117e-06, allocations: 0 / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 81.59 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.445/4.623, allocations: 1.894 GB / 2.522 GB, free: 245.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/4.623, allocations: 84.45 kB / 2.522 GB, free: 245.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.495/8.118, allocations: 1.05 GB / 3.572 GB, free: 100.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002122/8.118, allocations: 48.61 kB / 3.572 GB, free: 100.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004586/8.122, allocations: 2.079 MB / 3.574 GB, free: 99.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/8.122, allocations: 7.656 kB / 3.574 GB, free: 99.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/8.127, allocations: 0.6603 MB / 3.575 GB, free: 99.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/8.131, allocations: 1.47 MB / 3.576 GB, free: 99.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/8.131, allocations: 123.2 kB / 3.576 GB, free: 99.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/8.132, allocations: 76.38 kB / 3.576 GB, free: 99.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002052/8.134, allocations: 1.026 MB / 3.577 GB, free: 99.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/8.136, allocations: 1.233 MB / 3.579 GB, free: 98.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/8.136, allocations: 1.688 kB / 3.579 GB, free: 98.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/8.136, allocations: 3.875 kB / 3.579 GB, free: 98.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/8.136, allocations: 41.17 kB / 3.579 GB, free: 98.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009215/8.146, allocations: 6.135 MB / 3.585 GB, free: 96.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/8.147, allocations: 0.8428 MB / 3.586 GB, free: 96.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/8.147, allocations: 482 kB / 3.586 GB, free: 96.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/8.148, allocations: 485 kB / 3.586 GB, free: 95.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006773/8.149, allocations: 0.5242 MB / 3.587 GB, free: 95.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 3.467e-06/8.149, allocations: 0 / 3.587 GB, free: 95.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.005691/8.154, allocations: 2.554 MB / 3.589 GB, free: 95.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/8.154, allocations: 191.6 kB / 3.59 GB, free: 94.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/8.156, allocations: 0.9291 MB / 3.591 GB, free: 94.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/8.156, allocations: 32.52 kB / 3.591 GB, free: 94.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/8.156, allocations: 491.9 kB / 3.591 GB, free: 94.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/8.156, allocations: 289.4 kB / 3.591 GB, free: 94.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/8.156, allocations: 0 / 3.591 GB, free: 94.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/8.156, allocations: 338.2 kB / 3.592 GB, free: 94.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/8.157, allocations: 349.9 kB / 3.592 GB, free: 94.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/8.157, allocations: 0.5728 MB / 3.593 GB, free: 93.88 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/8.161, allocations: 1.64 MB / 3.594 GB, free: 93.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/8.161, allocations: 2.594 kB / 3.594 GB, free: 93.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001833/8.163, allocations: 1.15 MB / 3.595 GB, free: 93.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/8.164, allocations: 1.425 MB / 3.597 GB, free: 92.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/8.164, allocations: 7.031 kB / 3.597 GB, free: 92.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/8.164, allocations: 46.55 kB / 3.597 GB, free: 92.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/8.165, allocations: 220.3 kB / 3.597 GB, free: 92.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004349/8.165, allocations: 0.6019 MB / 3.598 GB, free: 91.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/8.167, allocations: 133.6 kB / 3.598 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/8.167, allocations: 36.16 kB / 3.598 GB, free: 91.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/8.167, allocations: 3.781 kB / 3.598 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/8.169, allocations: 0.9481 MB / 3.599 GB, free: 91.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/8.169, allocations: 3.969 kB / 3.599 GB, free: 91.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/8.169, allocations: 50.61 kB / 3.599 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/8.17, allocations: 214.9 kB / 3.599 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/8.171, allocations: 1.464 MB / 3.6 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/8.172, allocations: 136.2 kB / 3.6 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/8.172, allocations: 38.75 kB / 3.6 GB, free: 90.3 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($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 (99): * Single equations (assignments): 97 * 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 prepare postOptimizeDAE: time 0.0002699/8.173, allocations: 169.8 kB / 3.601 GB, free: 90.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/8.173, allocations: 157.3 kB / 3.601 GB, free: 90.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/8.175, allocations: 1.105 MB / 3.602 GB, free: 90 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/8.175, allocations: 9.969 kB / 3.602 GB, free: 90 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/8.175, allocations: 3.891 kB / 3.602 GB, free: 90 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/8.177, allocations: 0.9871 MB / 3.603 GB, free: 89.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/8.181, allocations: 2.725 MB / 3.606 GB, free: 89.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/8.181, allocations: 3.656 kB / 3.606 GB, free: 89.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/8.182, allocations: 207.6 kB / 3.606 GB, free: 89.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/8.182, allocations: 46.48 kB / 3.606 GB, free: 89.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/8.182, allocations: 14.12 kB / 3.606 GB, free: 89.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002997/8.183, allocations: 0.5937 MB / 3.606 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/8.183, allocations: 6.797 kB / 3.606 GB, free: 88.84 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002467/8.185, allocations: 2.044 MB / 3.608 GB, free: 88.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/8.186, allocations: 339 kB / 3.609 GB, free: 87.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/8.186, allocations: 13.81 kB / 3.609 GB, free: 87.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/8.187, allocations: 130 kB / 3.609 GB, free: 87.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/8.188, allocations: 57.11 kB / 3.609 GB, free: 87.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/8.188, allocations: 37.2 kB / 3.609 GB, free: 87.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001004/8.189, allocations: 0.7006 MB / 3.61 GB, free: 87.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003166/8.192, allocations: 0.8236 MB / 3.61 GB, free: 87.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (78): * Single equations (assignments): 76 * 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.004031/8.196, allocations: 2.642 MB / 3.613 GB, free: 87.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00256/8.198, allocations: 1.589 MB / 3.615 GB, free: 86.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/8.198, allocations: 3.469 kB / 3.615 GB, free: 86.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/8.199, allocations: 0.5062 MB / 3.615 GB, free: 86.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/8.203, allocations: 0.6787 MB / 3.616 GB, free: 86.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/8.21, allocations: 2.636 MB / 3.618 GB, free: 86.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/8.211, allocations: 1.489 MB / 3.62 GB, free: 85.38 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/8.211, allocations: 0 / 3.62 GB, free: 85.38 MB / 0.698 GB Notification: Performance of Templates: time 0.07141/8.283, allocations: 44.35 MB / 3.663 GB, free: 83.7 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)