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-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_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IDEAS_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.005514/0.005514, allocations: 172.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.735/0.735, allocations: 135.2 MB / 151 MB, free: 13.8 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.4/1.4, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.000878/0.0008781, allocations: 100.5 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003625, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 82.32 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.049/4.423, allocations: 1.895 GB / 2.545 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/4.423, allocations: 94.08 kB / 2.545 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.105/8.528, allocations: 1.051 GB / 3.596 GB, free: 29.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/8.528, allocations: 0 / 3.596 GB, free: 29.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001773/8.528, allocations: 52.14 kB / 3.596 GB, free: 29.6 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.006163/8.534, allocations: 2.378 MB / 3.598 GB, free: 27.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/8.534, allocations: 8.031 kB / 3.598 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004045/8.535, allocations: 185.5 kB / 3.598 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/8.539, allocations: 0.6298 MB / 3.599 GB, free: 26.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/8.543, allocations: 1.458 MB / 3.6 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/8.543, allocations: 158.3 kB / 3.6 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/8.543, allocations: 131.8 kB / 3.601 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/8.546, allocations: 1.466 MB / 3.602 GB, free: 22.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/8.546, allocations: 4 kB / 3.602 GB, free: 22.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/8.546, allocations: 55.95 kB / 3.602 GB, free: 22.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/8.546, allocations: 42.2 kB / 3.602 GB, free: 22.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/8.549, allocations: 1.254 MB / 3.603 GB, free: 21.61 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.008812/8.558, allocations: 5.989 MB / 3.609 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/8.559, allocations: 1.134 MB / 3.61 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/8.56, allocations: 315.9 kB / 3.611 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/8.561, allocations: 0.6242 MB / 3.611 GB, free: 13.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.776e-06/8.561, allocations: 4 kB / 3.611 GB, free: 13.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.007811/8.569, allocations: 3.464 MB / 3.615 GB, free: 9.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/8.569, allocations: 192.6 kB / 3.615 GB, free: 9.277 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/8.571, allocations: 1.134 MB / 3.616 GB, free: 8.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/8.571, allocations: 45.7 kB / 3.616 GB, free: 8.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/8.572, allocations: 0.7366 MB / 3.617 GB, free: 7.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/8.572, allocations: 295.7 kB / 3.617 GB, free: 7.047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/8.572, allocations: 20 kB / 3.617 GB, free: 7.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/8.572, allocations: 337.9 kB / 3.617 GB, free: 6.691 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00089/8.573, allocations: 449.7 kB / 3.618 GB, free: 6.254 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/8.574, allocations: 0.6801 MB / 3.618 GB, free: 5.477 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.01217/8.586, allocations: 2.877 MB / 3.621 GB, free: 2.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/8.586, allocations: 3.938 kB / 3.621 GB, free: 2.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002947/8.589, allocations: 1.369 MB / 3.622 GB, free: 1.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005599/8.59, allocations: 1.473 MB / 3.624 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/8.59, allocations: 12 kB / 3.624 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/8.59, allocations: 48.83 kB / 3.624 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/8.591, allocations: 211.7 kB / 3.624 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006309/8.592, allocations: 0.5952 MB / 3.625 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/8.594, allocations: 143.8 kB / 3.625 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.594, allocations: 39.98 kB / 3.625 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/8.594, allocations: 5.25 kB / 3.625 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002741/8.597, allocations: 1.22 MB / 3.626 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/8.597, allocations: 4 kB / 3.626 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/8.597, allocations: 48.83 kB / 3.626 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/8.598, allocations: 212.1 kB / 3.626 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/8.6, allocations: 1.604 MB / 3.628 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/8.603, allocations: 151.7 kB / 3.628 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/8.603, allocations: 39.98 kB / 3.628 GB, free: 11.07 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 () * 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.001606/8.604, allocations: 0.5043 MB / 3.629 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/8.605, allocations: 158.1 kB / 3.629 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/8.608, allocations: 1.35 MB / 3.63 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/8.608, allocations: 15.98 kB / 3.63 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/8.608, allocations: 4 kB / 3.63 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002657/8.611, allocations: 1.215 MB / 3.631 GB, free: 7.746 MB / 0.7136 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.007638/8.619, allocations: 3.12 MB / 3.634 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/8.619, allocations: 11.98 kB / 3.634 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/8.62, allocations: 192.3 kB / 3.635 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/8.62, allocations: 56.75 kB / 3.635 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/8.62, allocations: 31.98 kB / 3.635 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/8.62, allocations: 0.5913 MB / 3.635 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/8.621, allocations: 7.938 kB / 3.635 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004739/8.625, allocations: 2.351 MB / 3.637 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/8.627, allocations: 351 kB / 3.638 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/8.627, allocations: 31.95 kB / 3.638 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/8.629, allocations: 139.7 kB / 3.638 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/8.629, allocations: 60.39 kB / 3.638 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/8.629, allocations: 39.98 kB / 3.638 GB, free: 424 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.5569/9.186, allocations: 0.8849 MB / 3.639 GB, free: 101 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.71e-07/9.186, allocations: 0 / 3.639 GB, free: 101 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005266/9.191, allocations: 0.9405 MB / 3.64 GB, free: 101 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) * 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.01087/9.202, allocations: 6.168 MB / 3.646 GB, free: 98.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00442/9.207, allocations: 1.961 MB / 3.648 GB, free: 97.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/9.207, allocations: 3.969 kB / 3.648 GB, free: 97.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/9.208, allocations: 0.6351 MB / 3.648 GB, free: 97.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/9.212, allocations: 0.8151 MB / 3.649 GB, free: 97.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/9.232, allocations: 12.45 MB / 3.661 GB, free: 92.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/9.233, allocations: 1.369 MB / 3.663 GB, free: 91.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002138/9.235, allocations: 366.2 kB / 3.663 GB, free: 91.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009836/9.236, allocations: 0.6286 MB / 3.664 GB, free: 91.54 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/9.236, allocations: 0 / 3.664 GB, free: 91.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/9.371, allocations: 75.91 MB / 3.738 GB, free: 89.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/9.371, allocations: 243.5 kB / 3.738 GB, free: 89.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.766/14.14, allocations: 0.5625 kB / 3.738 GB, free: 89.16 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)