Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.000876, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.77, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.2073/0.9773, allocations: 164.8 MB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006523/0.9839, allocations: 3.646 MB / 1.118 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007862/0.9847, allocations: 23.81 kB / 1.118 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.986, allocations: 418.3 kB / 1.119 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.9892, allocations: 1.001 MB / 1.12 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.9914, allocations: 0.6568 MB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.9931, allocations: 0.8312 MB / 1.121 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.9938, allocations: 396.6 kB / 1.121 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.9956, allocations: 0.7516 MB / 1.122 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.9961, allocations: 310.7 kB / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.9961, allocations: 24 kB / 1.122 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.9977, allocations: 0.6006 MB / 1.123 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.9978, allocations: 163.5 kB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.998, allocations: 153.3 kB / 1.123 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.9989, allocations: 0.7132 MB / 1.124 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.9989, allocations: 0 / 1.124 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9989, allocations: 0 / 1.124 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.999, allocations: 0 / 1.124 GB, free: 1.242 MB / 0.8731 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.001927/1.001, allocations: 0.9234 MB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.001, allocations: 12.03 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.416e-05/1.001, allocations: 78.53 kB / 1.125 GB, free: 176 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.002, allocations: 231 kB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/1.003, allocations: 0.5229 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/1.003, allocations: 32.95 kB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/1.003, allocations: 40 kB / 1.126 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/1.004, allocations: 0.5474 MB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.004, allocations: 0 / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/1.004, allocations: 16 kB / 1.126 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/1.004, allocations: 21 kB / 1.126 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.006, allocations: 0.5074 MB / 1.127 GB, free: 14.2 MB / 0.8887 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.003023/1.009, allocations: 2.226 MB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/1.009, allocations: 366.9 kB / 1.129 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/1.01, allocations: 0.604 MB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/1.011, allocations: 202.3 kB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 2.033e-06/1.011, allocations: 0 / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.00105/1.012, allocations: 454.9 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.012, allocations: 110.8 kB / 1.131 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/1.013, allocations: 0.6408 MB / 1.131 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.013, allocations: 33.7 kB / 1.131 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/1.013, allocations: 323.8 kB / 1.132 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/1.013, allocations: 94.59 kB / 1.132 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/1.013, allocations: 8 kB / 1.132 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.013, allocations: 374.7 kB / 1.132 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/1.014, allocations: 140.8 kB / 1.132 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/1.014, allocations: 294.2 kB / 1.133 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/1.015, allocations: 170 kB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.015, allocations: 4 kB / 1.133 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009898/1.016, allocations: 488.7 kB / 1.133 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006782/1.016, allocations: 1.568 MB / 1.135 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.016, allocations: 4 kB / 1.135 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.016, allocations: 8 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/1.017, allocations: 91.83 kB / 1.135 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.017, allocations: 11.98 kB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/1.018, allocations: 87.5 kB / 1.135 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/1.018, allocations: 20 kB / 1.135 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/1.018, allocations: 4 kB / 1.135 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008759/1.018, allocations: 420.2 kB / 1.135 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.018, allocations: 4 kB / 1.135 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/1.018, allocations: 4 kB / 1.135 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/1.019, allocations: 91.89 kB / 1.135 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.019, allocations: 7.938 kB / 1.135 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/1.019, allocations: 79.58 kB / 1.135 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/1.02, allocations: 23.94 kB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0003326/1.02, allocations: 289 kB / 1.136 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/1.02, allocations: 67.2 kB / 1.136 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/1.021, allocations: 337.7 kB / 1.136 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.021, allocations: 4 kB / 1.136 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.021, allocations: 0 / 1.136 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.021, allocations: 3.984 kB / 1.136 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/1.022, allocations: 1.182 MB / 1.137 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.022, allocations: 7.984 kB / 1.137 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/1.022, allocations: 43.98 kB / 1.137 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.022, allocations: 8 kB / 1.137 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.023, allocations: 8 kB / 1.137 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.023, allocations: 0 / 1.137 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.023, allocations: 7.938 kB / 1.137 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/1.023, allocations: 0.7395 MB / 1.138 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/1.024, allocations: 168.2 kB / 1.138 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/1.024, allocations: 8.188 kB / 1.138 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/1.024, allocations: 31.91 kB / 1.138 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/1.024, allocations: 31.98 kB / 1.138 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.024, allocations: 8 kB / 1.138 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006482/1.025, allocations: 475 kB / 1.139 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/1.025, allocations: 0 / 1.139 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009762/1.026, allocations: 275.6 kB / 1.139 GB, free: 0.8516 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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.002493/1.028, allocations: 2.365 MB / 1.141 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.03, allocations: 0.5205 MB / 1.142 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.03, allocations: 0 / 1.142 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/1.03, allocations: 137.5 kB / 1.142 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.031, allocations: 261.4 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/1.038, allocations: 6.035 MB / 1.148 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/1.038, allocations: 0.9098 MB / 1.149 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008068/1.039, allocations: 168.9 kB / 1.149 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/1.039, allocations: 203.4 kB / 1.149 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of SimCode: time 1.012e-06/1.039, allocations: 0 / 1.149 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/1.072, allocations: 15.75 MB / 1.165 GB, free: 6.734 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/1.072, allocations: 245.8 kB / 1.165 GB, free: 6.488 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.226, allocations: 0 / 1.165 GB, free: 6.488 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat does not exist to compare? outputFormat=mat