Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.001452/0.001452, allocations: 174.7 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.8109/0.8109, allocations: 133.4 MB / 146.7 MB, free: 10.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.548/1.548, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0009614/0.0009614, allocations: 94.25 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.279e-05, allocations: 2.281 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.761/4.93, allocations: 1.851 GB / 2.491 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/4.93, allocations: 83.95 kB / 2.492 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.759/7.69, allocations: 0.6051 GB / 3.097 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/7.69, allocations: 0 / 3.097 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001444/7.69, allocations: 21 kB / 3.097 GB, free: 138.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00424/7.694, allocations: 1.046 MB / 3.098 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/7.694, allocations: 12.88 kB / 3.098 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002778/7.694, allocations: 79.25 kB / 3.098 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/7.696, allocations: 216.7 kB / 3.098 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/7.699, allocations: 0.8917 MB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/7.7, allocations: 30.72 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/7.7, allocations: 45 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/7.701, allocations: 496.3 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/7.701, allocations: 5.406 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/7.701, allocations: 13.69 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/7.701, allocations: 21.06 kB / 3.099 GB, free: 138 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/7.702, allocations: 376.5 kB / 3.1 GB, free: 138 MB / 0.6823 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.004085/7.706, allocations: 2.158 MB / 3.102 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/7.707, allocations: 266.3 kB / 3.102 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/7.707, allocations: 128.6 kB / 3.102 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/7.708, allocations: 0.8229 MB / 3.103 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/7.708, allocations: 204.5 kB / 3.103 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/7.708, allocations: 0 / 3.103 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001105/7.71, allocations: 351 kB / 3.104 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/7.71, allocations: 107.8 kB / 3.104 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/7.711, allocations: 0.5465 MB / 3.104 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/7.711, allocations: 36.08 kB / 3.104 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/7.711, allocations: 328.1 kB / 3.105 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/7.711, allocations: 95.23 kB / 3.105 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/7.711, allocations: 7.625 kB / 3.105 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001742/7.712, allocations: 374.5 kB / 3.105 GB, free: 135 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/7.712, allocations: 110.1 kB / 3.105 GB, free: 135 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/7.712, allocations: 301.1 kB / 3.105 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/7.713, allocations: 158.6 kB / 3.106 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/7.713, allocations: 3.156 kB / 3.106 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009893/7.714, allocations: 463.9 kB / 3.106 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005102/7.714, allocations: 1.83 MB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/7.714, allocations: 5.656 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/7.714, allocations: 10.12 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/7.715, allocations: 95.78 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/7.715, allocations: 10.38 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/7.715, allocations: 66.22 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/7.715, allocations: 24.3 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/7.715, allocations: 3.938 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006445/7.716, allocations: 375.2 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/7.716, allocations: 11.22 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/7.716, allocations: 8.5 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/7.716, allocations: 85.98 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/7.716, allocations: 15.97 kB / 3.108 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/7.717, allocations: 57.58 kB / 3.109 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/7.717, allocations: 24.94 kB / 3.109 GB, free: 132.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/7.717, allocations: 128.8 kB / 3.109 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/7.717, allocations: 65.58 kB / 3.109 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007239/7.718, allocations: 328.3 kB / 3.109 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/7.718, allocations: 3.688 kB / 3.109 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/7.718, allocations: 7.438 kB / 3.109 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/7.718, allocations: 1.453 kB / 3.109 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/7.72, allocations: 1.177 MB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/7.72, allocations: 4.422 kB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/7.721, allocations: 43.98 kB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/7.721, allocations: 4.266 kB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/7.721, allocations: 14 kB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/7.721, allocations: 4.484 kB / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/7.721, allocations: 0 / 3.11 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/7.722, allocations: 0.7358 MB / 3.111 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/7.722, allocations: 181 kB / 3.111 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/7.722, allocations: 12.69 kB / 3.111 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/7.722, allocations: 14.27 kB / 3.111 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/7.723, allocations: 26.7 kB / 3.111 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/7.723, allocations: 13.36 kB / 3.111 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006584/7.723, allocations: 440.3 kB / 3.112 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.635e-06/7.723, allocations: 0 / 3.112 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001977/7.725, allocations: 420 kB / 3.112 GB, free: 131.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005198/7.73, allocations: 3.463 MB / 3.115 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001211/7.732, allocations: 0.4975 MB / 3.116 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/7.732, allocations: 0.9688 kB / 3.116 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/7.732, allocations: 136.6 kB / 3.116 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/7.734, allocations: 264.6 kB / 3.116 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/7.741, allocations: 1.849 MB / 3.118 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/7.741, allocations: 0.9076 MB / 3.119 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001275/7.743, allocations: 230.8 kB / 3.119 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/7.743, allocations: 204.2 kB / 3.119 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/7.743, allocations: 3.656 kB / 3.119 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08206/7.825, allocations: 41.26 MB / 3.16 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/7.825, allocations: 201.1 kB / 3.16 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/11.32, allocations: 0 / 3.16 GB, free: 127.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)