Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_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 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.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005711/0.005711, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001135/0.001135, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 285.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 96.09 kB / 0.6815 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4544, allocations: 86.98 MB / 0.7664 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002099/0.4565, allocations: 1.253 MB / 0.7676 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005416/0.4571, allocations: 295.1 kB / 0.7679 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.4571, allocations: 0 / 0.7679 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.4572, allocations: 3.984 kB / 0.7679 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.4572, allocations: 3.938 kB / 0.7679 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.4575, allocations: 51.75 kB / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.4576, allocations: 15.92 kB / 0.768 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.4576, allocations: 8 kB / 0.768 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.4577, allocations: 8 kB / 0.768 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.4577, allocations: 15.86 kB / 0.768 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.4578, allocations: 0 / 0.768 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.4579, allocations: 59.95 kB / 0.7681 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.4579, allocations: 3.984 kB / 0.7681 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.4579, allocations: 7.938 kB / 0.7681 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.4581, allocations: 47.42 kB / 0.7681 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4581, allocations: 3.984 kB / 0.7681 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4581, allocations: 0 / 0.7681 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4581, allocations: 4 kB / 0.7681 GB, free: 2.082 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003668/0.4585, allocations: 334.2 kB / 0.7684 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4585, allocations: 8.031 kB / 0.7684 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.4587, allocations: 16.92 kB / 0.7685 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.4588, allocations: 168.2 kB / 0.7686 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4589, allocations: 4.375 kB / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.4589, allocations: 384 / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.459, allocations: 50.23 kB / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.459, allocations: 192 / 0.7687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.459, allocations: 3.938 kB / 0.7687 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.459, allocations: 3.984 kB / 0.7687 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.4591, allocations: 15.94 kB / 0.7687 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.4592, allocations: 165.7 kB / 0.7689 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4609, allocations: 262.5 kB / 0.7691 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.461, allocations: 24.84 kB / 0.7691 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.461, allocations: 0 / 0.7691 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.461, allocations: 34.56 kB / 0.7692 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.461, allocations: 0 / 0.7692 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001627/0.4612, allocations: 73.56 kB / 0.7692 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4613, allocations: 51.41 kB / 0.7693 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.4613, allocations: 89.86 kB / 0.7694 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.4614, allocations: 25.7 kB / 0.7694 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.4614, allocations: 80.14 kB / 0.7695 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.4614, allocations: 23.73 kB / 0.7695 GB, free: 488 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4615, allocations: 13.72 kB / 0.7695 GB, free: 468 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.4616, allocations: 319 kB / 0.7698 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.4616, allocations: 4 kB / 0.7698 GB, free: 136 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.4616, allocations: 11.98 kB / 0.7698 GB, free: 124 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.4617, allocations: 28.8 kB / 0.7699 GB, free: 92 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4617, allocations: 0 / 0.7699 GB, free: 92 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.273e-05/0.4617, allocations: 53.69 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4618, allocations: 4 kB / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4618, allocations: 3.938 kB / 0.7699 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4618, allocations: 4 kB / 0.7699 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.4619, allocations: 4 kB / 0.7699 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4619, allocations: 4 kB / 0.7699 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.4619, allocations: 0 / 0.7699 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4619, allocations: 4 kB / 0.7699 GB, free: 8 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.094e-05/0.462, allocations: 120.1 kB / 0.77 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.462, allocations: 3.984 kB / 0.77 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.462, allocations: 11.44 kB / 0.7701 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.462, allocations: 4 kB / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4621, allocations: 0 / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4621, allocations: 0 / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.404e-05/0.4622, allocations: 157.7 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4622, allocations: 7.938 kB / 0.7702 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.4622, allocations: 4 kB / 0.7702 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4622, allocations: 4.328 kB / 0.7702 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4622, allocations: 3.938 kB / 0.7702 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4622, allocations: 0 / 0.7702 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4622, allocations: 0 / 0.7702 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.115e-05/0.4623, allocations: 85.02 kB / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.4624, allocations: 89.09 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.4624, allocations: 3.938 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.4625, allocations: 0 / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.4625, allocations: 0 / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4625, allocations: 4 kB / 0.7704 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.4625, allocations: 75.28 kB / 0.7705 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4625, allocations: 0 / 0.7705 GB, free: 15.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000179/0.4627, allocations: 12 kB / 0.7705 GB, free: 15.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001007/0.4628, allocations: 109.8 kB / 0.7706 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.4629, allocations: 23.98 kB / 0.7706 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4629, allocations: 4 kB / 0.7706 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.463, allocations: 8 kB / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4632, allocations: 11.98 kB / 0.7706 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.4635, allocations: 130.6 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.4637, allocations: 0.6768 MB / 0.7714 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.4638, allocations: 4 kB / 0.7714 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.4638, allocations: 7.438 kB / 0.7714 GB, free: 14.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4638, allocations: 4 kB / 0.7714 GB, free: 14.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002302/0.4661, allocations: 0.5295 MB / 0.772 GB, free: 13.78 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)