Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001142, allocations: 108 kB / 15.61 MB, free: 152 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.001559/0.001559, allocations: 195.3 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.31 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.8311/1.143, allocations: 199 MB / 0.9777 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007977/1.151, allocations: 3.6 MB / 0.9812 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/1.153, allocations: 30.94 kB / 0.9812 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/1.155, allocations: 433.8 kB / 0.9816 GB, free: 14.6 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004528/1.159, allocations: 1.246 MB / 0.9829 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/1.162, allocations: 0.7346 MB / 0.9836 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002753/1.165, allocations: 1.347 MB / 0.9849 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/1.166, allocations: 0.4885 MB / 0.9854 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/1.169, allocations: 0.9776 MB / 0.9863 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/1.17, allocations: 468.2 kB / 0.9868 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/1.17, allocations: 50.22 kB / 0.9868 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/1.173, allocations: 1.183 MB / 0.988 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/1.174, allocations: 196.2 kB / 0.9882 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/1.174, allocations: 325.2 kB / 0.9885 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/1.177, allocations: 1.191 MB / 0.9896 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.177, allocations: 3.938 kB / 0.9896 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/1.177, allocations: 0 / 0.9896 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.177, allocations: 0 / 0.9896 GB, free: 10.84 MB / 0.7325 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.00239/1.179, allocations: 1.053 MB / 0.9907 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.179, allocations: 10.06 kB / 0.9907 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.18, allocations: 217 kB / 0.9909 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/1.181, allocations: 0.538 MB / 0.9914 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/1.181, allocations: 34.91 kB / 0.9914 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/1.181, allocations: 36.44 kB / 0.9915 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.183, allocations: 0.5447 MB / 0.992 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.183, allocations: 1.938 kB / 0.992 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/1.183, allocations: 14.78 kB / 0.992 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/1.183, allocations: 18.66 kB / 0.992 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.184, allocations: 0.5036 MB / 0.9925 GB, free: 8.797 MB / 0.7325 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.003586/1.187, allocations: 2.23 MB / 0.9947 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/1.188, allocations: 355.1 kB / 0.995 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.189, allocations: 143.2 kB / 0.9952 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.19, allocations: 0.8402 MB / 0.996 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/1.19, allocations: 189 kB / 0.9962 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.645e-06/1.19, allocations: 2.188 kB / 0.9962 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001041/1.191, allocations: 438.5 kB / 0.9966 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.191, allocations: 81.55 kB / 0.9967 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/1.192, allocations: 0.6564 MB / 0.9973 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/1.192, allocations: 34.42 kB / 0.9974 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/1.193, allocations: 315 kB / 0.9977 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/1.193, allocations: 89 kB / 0.9977 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.193, allocations: 86.2 kB / 0.9978 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002116/1.193, allocations: 369.6 kB / 0.9982 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.194, allocations: 137.4 kB / 0.9983 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/1.194, allocations: 285.8 kB / 0.9986 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/1.195, allocations: 386.4 kB / 0.9989 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.195, allocations: 3.938 kB / 0.999 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001018/1.196, allocations: 482.5 kB / 0.9994 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.196, allocations: 7.5 kB / 0.9994 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.196, allocations: 4.719 kB / 0.9994 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.196, allocations: 5.344 kB / 0.9994 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/1.196, allocations: 84.67 kB / 0.9995 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.196, allocations: 7.688 kB / 0.9995 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.197, allocations: 82.86 kB / 0.9996 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/1.197, allocations: 18.66 kB / 0.9996 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005285/1.198, allocations: 295.7 kB / 0.9999 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004536/1.198, allocations: 279.9 kB / 1 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006987/1.199, allocations: 384.6 kB / 1.001 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/1.199, allocations: 3 kB / 1.001 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009649/1.2, allocations: 471.5 kB / 1.001 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.2, allocations: 14.75 kB / 1.001 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.2, allocations: 4.75 kB / 1.001 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.2, allocations: 5.281 kB / 1.001 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/1.2, allocations: 84.3 kB / 1.001 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.2, allocations: 13.7 kB / 1.001 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/1.201, allocations: 67.92 kB / 1.001 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/1.201, allocations: 23.61 kB / 1.001 GB, free: 2.059 MB / 0.7325 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 (43): * Single equations (assignments): 43 * 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.0001836/1.201, allocations: 199.5 kB / 1.001 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/1.201, allocations: 60.78 kB / 1.001 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/1.202, allocations: 337.2 kB / 1.002 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.202, allocations: 2.5 kB / 1.002 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.202, allocations: 1.781 kB / 1.002 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.202, allocations: 3.938 kB / 1.002 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/1.203, allocations: 1.085 MB / 1.003 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.203, allocations: 3.125 kB / 1.003 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/1.204, allocations: 45.52 kB / 1.003 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.204, allocations: 2.875 kB / 1.003 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/1.204, allocations: 8.906 kB / 1.003 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.204, allocations: 5.281 kB / 1.003 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.204, allocations: 6.625 kB / 1.003 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/1.204, allocations: 472.3 kB / 1.003 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.205, allocations: 162.3 kB / 1.003 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/1.205, allocations: 12.94 kB / 1.004 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/1.205, allocations: 13.64 kB / 1.004 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/1.205, allocations: 22.2 kB / 1.004 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/1.205, allocations: 19.52 kB / 1.004 GB, free: 204 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007107/1.206, allocations: 479.4 kB / 1.004 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.206, allocations: 0 / 1.004 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009549/1.207, allocations: 263.1 kB / 1.004 GB, free: 15.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * 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.001244/1.208, allocations: 0.5087 MB / 1.005 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.209, allocations: 0.5249 MB / 1.005 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.209, allocations: 0 / 1.005 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/1.209, allocations: 126.3 kB / 1.005 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.211, allocations: 290.2 kB / 1.006 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/1.213, allocations: 1.04 MB / 1.007 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/1.213, allocations: 0.8904 MB / 1.008 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007139/1.214, allocations: 162.4 kB / 1.008 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.214, allocations: 46.7 kB / 1.008 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/1.214, allocations: 0 / 1.008 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of Templates: time 0.02254/1.237, allocations: 10.49 MB / 1.018 GB, free: 8.488 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)