Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00934/0.009341, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.272/1.272, allocations: 135.2 MB / 151 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.561/2.561, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 95.88 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.0006643, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7212, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.552/8.274, allocations: 1.895 GB / 2.545 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/8.274, allocations: 94.77 kB / 2.545 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.489/14.76, allocations: 1.051 GB / 3.596 GB, free: 72.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/14.76, allocations: 0 / 3.596 GB, free: 72.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004156/14.76, allocations: 47.98 kB / 3.596 GB, free: 72 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.01007/14.77, allocations: 2.376 MB / 3.598 GB, free: 69.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.134e-05/14.77, allocations: 8.031 kB / 3.598 GB, free: 69.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008034/14.77, allocations: 185.5 kB / 3.598 GB, free: 69.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00588/14.78, allocations: 0.6271 MB / 3.599 GB, free: 68.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/14.79, allocations: 1.452 MB / 3.6 GB, free: 67.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/14.79, allocations: 161.3 kB / 3.6 GB, free: 67.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/14.79, allocations: 123.9 kB / 3.601 GB, free: 66.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/14.79, allocations: 1.482 MB / 3.602 GB, free: 65.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/14.79, allocations: 0 / 3.602 GB, free: 65.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/14.79, allocations: 48 kB / 3.602 GB, free: 65.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/14.79, allocations: 42.27 kB / 3.602 GB, free: 65.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/14.8, allocations: 1.257 MB / 3.603 GB, free: 64.11 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/14.81, allocations: 6.008 MB / 3.609 GB, free: 57.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/14.81, allocations: 1.127 MB / 3.61 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/14.81, allocations: 311.9 kB / 3.611 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/14.81, allocations: 0.6203 MB / 3.611 GB, free: 55.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 9.438e-06/14.81, allocations: 7.75 kB / 3.611 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.01214/14.83, allocations: 3.471 MB / 3.615 GB, free: 52.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/14.83, allocations: 196.6 kB / 3.615 GB, free: 51.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/14.83, allocations: 1.134 MB / 3.616 GB, free: 50.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/14.83, allocations: 45.7 kB / 3.616 GB, free: 50.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/14.83, allocations: 0.7327 MB / 3.617 GB, free: 49.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/14.83, allocations: 299.7 kB / 3.617 GB, free: 49.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/14.83, allocations: 16 kB / 3.617 GB, free: 49.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/14.83, allocations: 341.9 kB / 3.617 GB, free: 49.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/14.83, allocations: 445.8 kB / 3.618 GB, free: 48.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/14.84, allocations: 0.6801 MB / 3.618 GB, free: 48.04 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.02136/14.86, allocations: 2.852 MB / 3.621 GB, free: 45.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/14.86, allocations: 4 kB / 3.621 GB, free: 45.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005493/14.86, allocations: 1.377 MB / 3.622 GB, free: 43.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/14.86, allocations: 1.482 MB / 3.624 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/14.86, allocations: 0 / 3.624 GB, free: 42.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/14.86, allocations: 60.77 kB / 3.624 GB, free: 42.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/14.87, allocations: 203.7 kB / 3.624 GB, free: 41.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006606/14.87, allocations: 0.5914 MB / 3.625 GB, free: 41.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/14.87, allocations: 147.7 kB / 3.625 GB, free: 41.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/14.87, allocations: 39.98 kB / 3.625 GB, free: 41.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/14.87, allocations: 4 kB / 3.625 GB, free: 41.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00438/14.87, allocations: 1.224 MB / 3.626 GB, free: 39.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/14.87, allocations: 7.984 kB / 3.626 GB, free: 39.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/14.87, allocations: 49.27 kB / 3.626 GB, free: 39.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/14.88, allocations: 211.7 kB / 3.626 GB, free: 39.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/14.88, allocations: 1.615 MB / 3.628 GB, free: 37.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/14.88, allocations: 139.8 kB / 3.628 GB, free: 37.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/14.88, allocations: 43.98 kB / 3.628 GB, free: 37.65 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * Number of clocked 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.001902/14.88, allocations: 0.4967 MB / 3.629 GB, free: 37.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005896/14.88, allocations: 166.1 kB / 3.629 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/14.89, allocations: 1.346 MB / 3.63 GB, free: 35.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/14.89, allocations: 8 kB / 3.63 GB, free: 35.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/14.89, allocations: 0 / 3.63 GB, free: 35.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003823/14.89, allocations: 1.211 MB / 3.631 GB, free: 34.35 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009712/14.9, allocations: 3.132 MB / 3.634 GB, free: 31.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/14.9, allocations: 4 kB / 3.634 GB, free: 31.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/14.9, allocations: 200.2 kB / 3.635 GB, free: 30.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/14.9, allocations: 56.81 kB / 3.635 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/14.91, allocations: 27.98 kB / 3.635 GB, free: 30.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005149/14.91, allocations: 0.5835 MB / 3.635 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/14.91, allocations: 11.92 kB / 3.635 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/14.91, allocations: 2.363 MB / 3.637 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/14.91, allocations: 343 kB / 3.638 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007401/14.92, allocations: 27.98 kB / 3.638 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/14.92, allocations: 143.7 kB / 3.638 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/14.92, allocations: 60.39 kB / 3.638 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/14.92, allocations: 31.98 kB / 3.638 GB, free: 27.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003219/14.92, allocations: 0.8899 MB / 3.639 GB, free: 26.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/14.92, allocations: 0 / 3.639 GB, free: 26.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008268/14.93, allocations: 0.949 MB / 3.64 GB, free: 25.18 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) * Number of clocked states: 0 () * 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.01467/14.95, allocations: 6.181 MB / 3.646 GB, free: 18.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007907/14.95, allocations: 1.953 MB / 3.648 GB, free: 16.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/14.95, allocations: 0 / 3.648 GB, free: 16.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/14.96, allocations: 0.6398 MB / 3.648 GB, free: 16.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008827/14.96, allocations: 0.8207 MB / 3.649 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/15.01, allocations: 12.45 MB / 3.661 GB, free: 2.461 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/15.01, allocations: 1.367 MB / 3.663 GB, free: 1.066 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004375/15.01, allocations: 375.3 kB / 3.663 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/15.02, allocations: 0.6243 MB / 3.664 GB, free: 92 kB / 0.698 GB Notification: Performance of SimCode: time 2.375e-06/15.02, allocations: 0 / 3.664 GB, free: 92 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.113/16.13, allocations: 75.9 MB / 3.738 GB, free: 95.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/16.13, allocations: 241.3 kB / 3.738 GB, free: 95.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/24.47, allocations: 3.75 kB / 3.738 GB, free: 95.16 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)