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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009824/0.0009823, allocations: 172.7 kB / 15.95 MB, free: 208 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.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 277.6 kB / 291.4 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9589/0.9589, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004214, allocations: 15.69 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic): time 0.4417/0.5769, allocations: 181.1 MB / 0.8614 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005495/0.5825, allocations: 3.516 MB / 0.8648 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.583, allocations: 22.59 kB / 0.8648 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.5839, allocations: 312.9 kB / 0.8651 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.5862, allocations: 0.9286 MB / 0.866 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5877, allocations: 0.5825 MB / 0.8666 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.5894, allocations: 1.563 MB / 0.8681 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.59, allocations: 381.9 kB / 0.8685 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.5916, allocations: 0.7798 MB / 0.8692 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.5921, allocations: 438.2 kB / 0.8697 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.5922, allocations: 19.97 kB / 0.8697 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.5937, allocations: 0.8102 MB / 0.8705 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.5939, allocations: 178.1 kB / 0.8706 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.5941, allocations: 149.9 kB / 0.8708 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008926/0.595, allocations: 0.801 MB / 0.8716 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.595, allocations: 3.984 kB / 0.8716 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.502e-06/0.595, allocations: 0 / 0.8716 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.595, allocations: 0 / 0.8716 GB, free: 13.89 MB / 0.5919 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.00179/0.5968, allocations: 0.9349 MB / 0.8725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5969, allocations: 11.94 kB / 0.8725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5981, allocations: 228.3 kB / 0.8727 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.5988, allocations: 0.529 MB / 0.8732 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.5989, allocations: 29.78 kB / 0.8733 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.5989, allocations: 39.53 kB / 0.8733 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.5999, allocations: 0.5505 MB / 0.8738 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5999, allocations: 0 / 0.8738 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.6, allocations: 18.84 kB / 0.8739 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.6, allocations: 21.47 kB / 0.8739 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.6011, allocations: 0.509 MB / 0.8744 GB, free: 11.93 MB / 0.5919 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.002814/0.604, allocations: 2.228 MB / 0.8765 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.6046, allocations: 351.5 kB / 0.8769 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.6048, allocations: 150.8 kB / 0.877 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.6061, allocations: 0.8668 MB / 0.8779 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.6064, allocations: 199.2 kB / 0.8781 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 3.216e-06/0.6064, allocations: 3.984 kB / 0.8781 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.0009455/0.6073, allocations: 460.6 kB / 0.8785 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.6074, allocations: 80.33 kB / 0.8786 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.6082, allocations: 0.6562 MB / 0.8792 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.6082, allocations: 32.67 kB / 0.8793 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.6085, allocations: 315.3 kB / 0.8796 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.6086, allocations: 100.3 kB / 0.8797 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.6086, allocations: 8 kB / 0.8797 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6087, allocations: 367.8 kB / 0.88 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.6091, allocations: 143.7 kB / 0.8801 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.6095, allocations: 296.8 kB / 0.8804 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.6099, allocations: 174.6 kB / 0.8806 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6099, allocations: 3.312 kB / 0.8806 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009418/0.6108, allocations: 495.2 kB / 0.8811 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.611, allocations: 203.8 kB / 0.8813 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.611, allocations: 4 kB / 0.8813 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.611, allocations: 8 kB / 0.8813 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.6114, allocations: 95.77 kB / 0.8814 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6115, allocations: 12 kB / 0.8814 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.6121, allocations: 91.39 kB / 0.8815 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.6121, allocations: 27.92 kB / 0.8815 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-06/0.6121, allocations: 0 / 0.8815 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008489/0.613, allocations: 403.8 kB / 0.8819 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.613, allocations: 8.031 kB / 0.8819 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.613, allocations: 8.625 kB / 0.8819 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.6134, allocations: 95.83 kB / 0.882 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.6134, allocations: 7.938 kB / 0.882 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.6139, allocations: 67.64 kB / 0.8821 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.6139, allocations: 20 kB / 0.8821 GB, free: 5.297 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 ($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.0002741/0.6142, allocations: 294.8 kB / 0.8824 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.6143, allocations: 60.94 kB / 0.8824 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000617/0.6149, allocations: 341.4 kB / 0.8827 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6149, allocations: 4.375 kB / 0.8827 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6149, allocations: 0 / 0.8827 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.615, allocations: 7.984 kB / 0.8828 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.6164, allocations: 1.111 MB / 0.8838 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.6164, allocations: 4.312 kB / 0.8838 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.6166, allocations: 47.91 kB / 0.8839 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.6167, allocations: 4 kB / 0.8839 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.6167, allocations: 8 kB / 0.8839 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.6167, allocations: 11.83 kB / 0.8839 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6167, allocations: 4 kB / 0.8839 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.6175, allocations: 0.6209 MB / 0.8845 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.6177, allocations: 168.2 kB / 0.8847 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.6178, allocations: 12.06 kB / 0.8847 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.6182, allocations: 31.92 kB / 0.8847 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.6182, allocations: 27.92 kB / 0.8848 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.6183, allocations: 11.98 kB / 0.8848 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006094/0.6189, allocations: 471 kB / 0.8852 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6189, allocations: 0 / 0.8852 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008584/0.6197, allocations: 279.5 kB / 0.8855 GB, free: 1.648 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 (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.001158/0.6209, allocations: 0.5007 MB / 0.886 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.622, allocations: 0.5336 MB / 0.8865 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.622, allocations: 0 / 0.8865 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.6223, allocations: 132.7 kB / 0.8866 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6235, allocations: 285 kB / 0.8869 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.6254, allocations: 1.357 MB / 0.8882 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.6259, allocations: 0.8981 MB / 0.8891 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000689/0.6266, allocations: 172.9 kB / 0.8893 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6267, allocations: 47.42 kB / 0.8893 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.6267, allocations: 3.938 kB / 0.8893 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.0167/0.6434, allocations: 9.967 MB / 0.899 GB, free: 4.016 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)