Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_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.000943/0.0009432, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.4 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 9.625 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 77.53 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.4898/0.6388, allocations: 194.2 MB / 0.7496 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.6449, allocations: 3.725 MB / 0.7533 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.6456, allocations: 23.81 kB / 0.7533 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.6467, allocations: 374.2 kB / 0.7537 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.6499, allocations: 1.171 MB / 0.7548 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6519, allocations: 0.6604 MB / 0.7554 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.6541, allocations: 1.843 MB / 0.7572 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008661/0.6549, allocations: 427 kB / 0.7577 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.6577, allocations: 0.8833 MB / 0.7585 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.6585, allocations: 458.1 kB / 0.759 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.6586, allocations: 24 kB / 0.759 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.6609, allocations: 1.325 MB / 0.7603 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.6611, allocations: 179.4 kB / 0.7604 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.6616, allocations: 320 kB / 0.7607 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.6636, allocations: 1.219 MB / 0.7619 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6637, allocations: 0 / 0.7619 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6637, allocations: 3.938 kB / 0.7619 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.6637, allocations: 4 kB / 0.7619 GB, free: 7.801 MB / 0.5762 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.002187/0.6659, allocations: 0.9241 MB / 0.7628 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.666, allocations: 12.03 kB / 0.7629 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.6661, allocations: 86.5 kB / 0.7629 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.6674, allocations: 234.9 kB / 0.7632 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.6683, allocations: 0.542 MB / 0.7637 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.6684, allocations: 29 kB / 0.7637 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.6685, allocations: 44 kB / 0.7638 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6696, allocations: 0.5552 MB / 0.7643 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6697, allocations: 0 / 0.7643 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.6697, allocations: 19.98 kB / 0.7643 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.6698, allocations: 13 kB / 0.7643 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.671, allocations: 0.5114 MB / 0.7648 GB, free: 4.715 MB / 0.5762 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.003295/0.6743, allocations: 2.234 MB / 0.767 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.675, allocations: 367.1 kB / 0.7674 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.6753, allocations: 144.8 kB / 0.7675 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.6768, allocations: 0.8689 MB / 0.7684 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.6771, allocations: 206.6 kB / 0.7685 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.6771, allocations: 0 / 0.7685 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.00106/0.6782, allocations: 456.6 kB / 0.769 GB, free: 80 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.6783, allocations: 77.11 kB / 0.7691 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/0.6792, allocations: 0.6602 MB / 0.7697 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.6793, allocations: 33.69 kB / 0.7697 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.6795, allocations: 315.8 kB / 0.77 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/0.6796, allocations: 98.64 kB / 0.7701 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.6797, allocations: 33.7 kB / 0.7702 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6799, allocations: 374.8 kB / 0.7705 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.6803, allocations: 144.8 kB / 0.7707 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.6808, allocations: 290.2 kB / 0.7709 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/0.6815, allocations: 413.7 kB / 0.7713 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6816, allocations: 0 / 0.7713 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001052/0.6826, allocations: 0.4922 MB / 0.7718 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.6828, allocations: 211.7 kB / 0.772 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.6828, allocations: 4 kB / 0.772 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6828, allocations: 11.94 kB / 0.772 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.6832, allocations: 91.88 kB / 0.7721 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.6833, allocations: 11.94 kB / 0.7721 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.6839, allocations: 87.48 kB / 0.7722 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.684, allocations: 27.92 kB / 0.7722 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.684, allocations: 4 kB / 0.7722 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009123/0.6849, allocations: 411.6 kB / 0.7726 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.685, allocations: 8.469 kB / 0.7726 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.685, allocations: 8 kB / 0.7726 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.6854, allocations: 87.88 kB / 0.7727 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6854, allocations: 11.98 kB / 0.7727 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.6859, allocations: 79.38 kB / 0.7728 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.686, allocations: 20 kB / 0.7728 GB, free: 11.9 MB / 0.5919 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 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.6863, allocations: 288.9 kB / 0.7731 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.6864, allocations: 63.19 kB / 0.7732 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.687, allocations: 332.5 kB / 0.7735 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.687, allocations: 7.938 kB / 0.7735 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.687, allocations: 4 kB / 0.7735 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6871, allocations: 4.047 kB / 0.7735 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.6885, allocations: 1.118 MB / 0.7746 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6886, allocations: 0 / 0.7746 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.6888, allocations: 43.92 kB / 0.7746 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6888, allocations: 4.312 kB / 0.7746 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.6888, allocations: 12 kB / 0.7747 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.6888, allocations: 7.938 kB / 0.7747 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.6888, allocations: 3.938 kB / 0.7747 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.6896, allocations: 0.6248 MB / 0.7753 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6898, allocations: 168.2 kB / 0.7754 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.6899, allocations: 11.94 kB / 0.7754 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.6903, allocations: 28.03 kB / 0.7755 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.6904, allocations: 19.98 kB / 0.7755 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.6904, allocations: 15.98 kB / 0.7755 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006376/0.6911, allocations: 479 kB / 0.776 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6911, allocations: 0 / 0.776 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008503/0.6919, allocations: 283.5 kB / 0.7762 GB, free: 8.242 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002078/0.694, allocations: 1.576 MB / 0.7778 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.6951, allocations: 0.526 MB / 0.7783 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6952, allocations: 1.062 kB / 0.7783 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6954, allocations: 136 kB / 0.7784 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6969, allocations: 271.9 kB / 0.7787 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.704, allocations: 5.199 MB / 0.7838 GB, free: 464 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.7044, allocations: 0.8942 MB / 0.7846 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006976/0.7051, allocations: 172.9 kB / 0.7848 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.7054, allocations: 203.4 kB / 0.785 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.7054, allocations: 0 / 0.785 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.7347, allocations: 15.26 MB / 0.7999 GB, free: 208 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.7349, allocations: 262.2 kB / 0.8001 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.317, allocations: 0 / 0.8001 GB, free: 15.95 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)