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.002097/0.002097, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8778/0.8778, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.476/1.476, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0009475/0.0009475, allocations: 95.83 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.903e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.073, allocations: 1.895 GB / 2.536 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/5.074, allocations: 92.31 kB / 2.536 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.121/9.195, allocations: 1.05 GB / 3.585 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/9.195, allocations: 0 / 3.585 GB, free: 11.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002756/9.195, allocations: 47.98 kB / 3.586 GB, free: 11.63 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.005861/9.201, allocations: 2.069 MB / 3.588 GB, free: 9.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/9.201, allocations: 8.031 kB / 3.588 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005842/9.202, allocations: 177.5 kB / 3.588 GB, free: 9.301 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/9.206, allocations: 0.6333 MB / 3.588 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/9.21, allocations: 1.442 MB / 3.59 GB, free: 7.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/9.211, allocations: 158.3 kB / 3.59 GB, free: 7.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/9.211, allocations: 124 kB / 3.59 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/9.214, allocations: 1.365 MB / 3.591 GB, free: 5.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/9.214, allocations: 3.953 kB / 3.591 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/9.215, allocations: 48 kB / 3.591 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/9.215, allocations: 46.27 kB / 3.591 GB, free: 5.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/9.217, allocations: 1.044 MB / 3.592 GB, free: 4.305 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.009455/9.226, allocations: 6.012 MB / 3.598 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/9.228, allocations: 0.9621 MB / 3.599 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/9.228, allocations: 475.6 kB / 3.6 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/9.229, allocations: 316 kB / 3.6 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/9.23, allocations: 0.5224 MB / 3.601 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/9.23, allocations: 3.938 kB / 3.601 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87): time 0.00581/9.236, allocations: 2.445 MB / 3.603 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/9.236, allocations: 192.7 kB / 3.603 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/9.238, allocations: 1.117 MB / 3.604 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/9.238, allocations: 45.7 kB / 3.604 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008882/9.239, allocations: 0.7366 MB / 3.605 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/9.24, allocations: 295.7 kB / 3.605 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/9.24, allocations: 16 kB / 3.605 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/9.24, allocations: 341.9 kB / 3.606 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/9.24, allocations: 353.8 kB / 3.606 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/9.241, allocations: 0.5902 MB / 3.607 GB, free: 5.199 MB / 0.7136 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.01138/9.253, allocations: 2.579 MB / 3.609 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/9.253, allocations: 0 / 3.609 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002661/9.255, allocations: 1.172 MB / 3.61 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.4737/9.729, allocations: 1.47 MB / 3.612 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/9.729, allocations: 4.875 kB / 3.612 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/9.73, allocations: 50.89 kB / 3.612 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/9.731, allocations: 209.4 kB / 3.612 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004335/9.731, allocations: 0.5909 MB / 3.612 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/9.733, allocations: 142.4 kB / 3.613 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/9.733, allocations: 38.78 kB / 3.613 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/9.733, allocations: 4.094 kB / 3.613 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/9.735, allocations: 1.023 MB / 3.614 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/9.735, allocations: 4.516 kB / 3.614 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/9.736, allocations: 47.42 kB / 3.614 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/9.737, allocations: 215.1 kB / 3.614 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/9.738, allocations: 1.597 MB / 3.615 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/9.74, allocations: 143.3 kB / 3.616 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/9.74, allocations: 42.61 kB / 3.616 GB, free: 102.9 MB / 0.7136 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 () * 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.0003407/9.74, allocations: 196.5 kB / 3.616 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/9.741, allocations: 160.8 kB / 3.616 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/9.743, allocations: 1.15 MB / 3.617 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/9.743, allocations: 16.11 kB / 3.617 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/9.743, allocations: 0 / 3.617 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001617/9.745, allocations: 1.015 MB / 3.618 GB, free: 102.4 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.006446/9.751, allocations: 2.941 MB / 3.621 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/9.751, allocations: 3.562 kB / 3.621 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/9.752, allocations: 199.6 kB / 3.621 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/9.753, allocations: 50.41 kB / 3.621 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/9.753, allocations: 31.14 kB / 3.621 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003608/9.753, allocations: 0.5904 MB / 3.622 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/9.753, allocations: 6.719 kB / 3.622 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/9.757, allocations: 2.066 MB / 3.624 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/9.758, allocations: 347.9 kB / 3.624 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/9.758, allocations: 25.31 kB / 3.624 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/9.76, allocations: 141.8 kB / 3.624 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/9.76, allocations: 59.72 kB / 3.624 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/9.76, allocations: 39.06 kB / 3.624 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00139/9.761, allocations: 0.8702 MB / 3.625 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.32e-07/9.761, allocations: 0 / 3.625 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003543/9.765, allocations: 0.9447 MB / 3.626 GB, free: 100.4 MB / 0.7136 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.006805/9.772, allocations: 5.883 MB / 3.632 GB, free: 97.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003037/9.775, allocations: 1.727 MB / 3.634 GB, free: 97.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/9.775, allocations: 0.9375 kB / 3.634 GB, free: 97.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/9.776, allocations: 0.5362 MB / 3.634 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/9.78, allocations: 0.8194 MB / 3.635 GB, free: 97.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/9.789, allocations: 2.996 MB / 3.638 GB, free: 96.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/9.791, allocations: 1.37 MB / 3.639 GB, free: 95.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003721/9.794, allocations: 0.5041 MB / 3.64 GB, free: 95.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009167/9.795, allocations: 0.6049 MB / 3.64 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/9.795, allocations: 0 / 3.64 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/9.915, allocations: 83.75 MB / 3.722 GB, free: 93.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/9.915, allocations: 221.4 kB / 3.722 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.002/14.92, allocations: 0 / 3.722 GB, free: 92.88 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)