Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 141.8 MB / 149.3 MB, free: 9.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 184.8 kB / 182.2 MB, free: 9.387 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001004/0.001004, allocations: 97.47 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 280.8 kB / 0.5889 GB, free: 54.6 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.464e-05, allocations: 4 kB / 0.6766 GB, free: 12.67 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4489, allocations: 82.77 MB / 0.7575 GB, free: 31.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.064/5.513, allocations: 1.848 GB / 2.606 GB, free: 169 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004025/5.514, allocations: 85.77 kB / 2.606 GB, free: 169 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.268/7.782, allocations: 0.5988 GB / 3.205 GB, free: 107.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/7.782, allocations: 0 / 3.205 GB, free: 107.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.789e-05/7.782, allocations: 20 kB / 3.205 GB, free: 107.9 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002848/7.785, allocations: 1.046 MB / 3.206 GB, free: 106.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/7.785, allocations: 8.031 kB / 3.206 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/7.786, allocations: 225.6 kB / 3.206 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/7.788, allocations: 0.8825 MB / 3.207 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/7.788, allocations: 12 kB / 3.207 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/7.788, allocations: 28 kB / 3.207 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005748/7.789, allocations: 345.4 kB / 3.207 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/7.789, allocations: 446.9 kB / 3.208 GB, free: 104.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/7.79, allocations: 0 / 3.208 GB, free: 104.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/7.79, allocations: 0 / 3.208 GB, free: 104.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/7.79, allocations: 16.77 kB / 3.208 GB, free: 104.8 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.002626/7.792, allocations: 2.084 MB / 3.21 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/7.793, allocations: 246.6 kB / 3.21 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/7.793, allocations: 118.3 kB / 3.21 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008606/7.794, allocations: 0.8182 MB / 3.211 GB, free: 101.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/7.794, allocations: 193.4 kB / 3.211 GB, free: 101.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.744e-06/7.794, allocations: 0 / 3.211 GB, free: 101.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003569/7.797, allocations: 0.8214 MB / 3.212 GB, free: 100.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/7.798, allocations: 107 kB / 3.212 GB, free: 100.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/7.798, allocations: 446.4 kB / 3.212 GB, free: 99.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/7.798, allocations: 33.64 kB / 3.212 GB, free: 99.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/7.798, allocations: 335.6 kB / 3.213 GB, free: 99.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/7.798, allocations: 86.75 kB / 3.213 GB, free: 99.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/7.798, allocations: 0 / 3.213 GB, free: 99.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001027/7.798, allocations: 366.8 kB / 3.213 GB, free: 98.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/7.799, allocations: 100.8 kB / 3.213 GB, free: 98.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/7.799, allocations: 295 kB / 3.213 GB, free: 98.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/7.802, allocations: 0.6463 MB / 3.214 GB, free: 97.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/7.802, allocations: 0 / 3.214 GB, free: 97.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003337/7.805, allocations: 0.8951 MB / 3.215 GB, free: 96.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004014/7.806, allocations: 1.823 MB / 3.217 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/7.806, allocations: 8 kB / 3.217 GB, free: 94.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/7.806, allocations: 4 kB / 3.217 GB, free: 94.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/7.806, allocations: 91.83 kB / 3.217 GB, free: 94.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/7.806, allocations: 11.94 kB / 3.217 GB, free: 94.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/7.806, allocations: 47.52 kB / 3.217 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/7.806, allocations: 27.98 kB / 3.217 GB, free: 94.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/7.806, allocations: 4 kB / 3.217 GB, free: 94.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003104/7.81, allocations: 0.8094 MB / 3.218 GB, free: 93.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/7.81, allocations: 4 kB / 3.218 GB, free: 93.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/7.81, allocations: 12.03 kB / 3.218 GB, free: 93.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/7.81, allocations: 87.89 kB / 3.218 GB, free: 93.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/7.81, allocations: 11.94 kB / 3.218 GB, free: 93.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/7.81, allocations: 27.83 kB / 3.218 GB, free: 93.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/7.81, allocations: 23.98 kB / 3.218 GB, free: 93.7 MB / 0.698 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 (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.0001399/7.81, allocations: 130.7 kB / 3.218 GB, free: 93.56 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003103/7.814, allocations: 0.7802 MB / 3.219 GB, free: 92.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/7.814, allocations: 59.34 kB / 3.219 GB, free: 92.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/7.817, allocations: 0.7819 MB / 3.22 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/7.817, allocations: 4 kB / 3.22 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/7.817, allocations: 0 / 3.22 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/7.817, allocations: 10.12 kB / 3.22 GB, free: 91.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/7.821, allocations: 1.574 MB / 3.221 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/7.821, allocations: 4.281 kB / 3.221 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/7.821, allocations: 51.92 kB / 3.221 GB, free: 90.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-06/7.822, allocations: 7.938 kB / 3.221 GB, free: 90.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/7.822, allocations: 11.98 kB / 3.221 GB, free: 90.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/7.822, allocations: 4 kB / 3.221 GB, free: 90.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/7.822, allocations: 0 / 3.221 GB, free: 90.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/7.825, allocations: 1.193 MB / 3.222 GB, free: 88.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/7.825, allocations: 160.3 kB / 3.222 GB, free: 88.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/7.825, allocations: 12.16 kB / 3.222 GB, free: 88.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/7.826, allocations: 15.92 kB / 3.223 GB, free: 88.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/7.826, allocations: 19.94 kB / 3.223 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/7.826, allocations: 15.98 kB / 3.223 GB, free: 88.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004237/7.826, allocations: 354.8 kB / 3.223 GB, free: 88.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.826, allocations: 4 kB / 3.223 GB, free: 88.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001439/7.828, allocations: 377.9 kB / 3.223 GB, free: 87.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (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.006566/7.834, allocations: 4.063 MB / 3.227 GB, free: 84.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008231/7.835, allocations: 471.1 kB / 3.228 GB, free: 83.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/7.835, allocations: 0 / 3.228 GB, free: 83.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/7.835, allocations: 118.1 kB / 3.228 GB, free: 83.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/7.837, allocations: 204.6 kB / 3.228 GB, free: 83.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/7.841, allocations: 1.742 MB / 3.23 GB, free: 81.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/7.842, allocations: 0.9142 MB / 3.231 GB, free: 80.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008475/7.843, allocations: 204.5 kB / 3.231 GB, free: 80.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/7.843, allocations: 199.3 kB / 3.231 GB, free: 80.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/7.843, allocations: 0 / 3.231 GB, free: 80.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/7.895, allocations: 24.53 MB / 3.255 GB, free: 55.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/7.895, allocations: 196.1 kB / 3.255 GB, free: 55.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/10.95, allocations: 0 / 3.255 GB, free: 55.48 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)