Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005483/0.005483, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001212/0.001212, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.36/1.36, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 298.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 95.84 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4047, allocations: 86.97 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002294/0.4071, allocations: 1.491 MB / 0.7678 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4083, allocations: 0.8125 MB / 0.7686 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.4083, allocations: 4 kB / 0.7686 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.4084, allocations: 3.938 kB / 0.7686 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.4084, allocations: 15.86 kB / 0.7686 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.4089, allocations: 135.4 kB / 0.7688 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.409, allocations: 47.8 kB / 0.7688 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4091, allocations: 19.64 kB / 0.7688 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.4091, allocations: 23.92 kB / 0.7688 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.4092, allocations: 15.92 kB / 0.7689 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4092, allocations: 8 kB / 0.7689 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.4095, allocations: 179.7 kB / 0.769 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.4096, allocations: 11.92 kB / 0.7691 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.4096, allocations: 19.94 kB / 0.7691 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.4099, allocations: 146.2 kB / 0.7692 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4099, allocations: 0 / 0.7692 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4099, allocations: 0 / 0.7692 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4099, allocations: 0 / 0.7692 GB, free: 1.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005646/0.4105, allocations: 399.2 kB / 0.7696 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4105, allocations: 12.03 kB / 0.7696 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.4105, allocations: 0.9375 kB / 0.7696 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4107, allocations: 176.2 kB / 0.7698 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.4107, allocations: 4.375 kB / 0.7698 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.4107, allocations: 4.375 kB / 0.7698 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.411, allocations: 78.19 kB / 0.7699 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.411, allocations: 4.172 kB / 0.7699 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.411, allocations: 7.938 kB / 0.7699 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.411, allocations: 0 / 0.7699 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.4113, allocations: 67.92 kB / 0.7699 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4117, allocations: 284.7 kB / 0.7702 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4119, allocations: 58.55 kB / 0.7703 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4121, allocations: 40.91 kB / 0.7703 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.4122, allocations: 89.09 kB / 0.7704 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4123, allocations: 30.56 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4123, allocations: 0 / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005331/0.4128, allocations: 133.5 kB / 0.7705 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.4129, allocations: 59.34 kB / 0.7706 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.413, allocations: 117.8 kB / 0.7707 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.413, allocations: 25.7 kB / 0.7707 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.413, allocations: 96.05 kB / 0.7708 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.413, allocations: 15.83 kB / 0.7708 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.4131, allocations: 13.72 kB / 0.7709 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4132, allocations: 318.8 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4133, allocations: 35.95 kB / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4135, allocations: 27.97 kB / 0.7712 GB, free: 14.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.4138, allocations: 72.78 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4138, allocations: 0 / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.4141, allocations: 101.5 kB / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4141, allocations: 8 kB / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4141, allocations: 7.938 kB / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4141, allocations: 0 / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4143, allocations: 15.97 kB / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.4143, allocations: 4 kB / 0.7714 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.4144, allocations: 11.98 kB / 0.7714 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4144, allocations: 0 / 0.7714 GB, free: 14.5 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 7.742e-05/0.4145, allocations: 124.2 kB / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.4145, allocations: 4 kB / 0.7716 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.4148, allocations: 113.4 kB / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4149, allocations: 0 / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4149, allocations: 0 / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4149, allocations: 384 / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.415, allocations: 173.6 kB / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4151, allocations: 0 / 0.7718 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.4152, allocations: 23.97 kB / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4152, allocations: 0 / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.4152, allocations: 0 / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4152, allocations: 0 / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4152, allocations: 0 / 0.7719 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.4155, allocations: 207.3 kB / 0.772 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4156, allocations: 81.02 kB / 0.7721 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4156, allocations: 3.984 kB / 0.7721 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4157, allocations: 15.92 kB / 0.7721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4158, allocations: 4 kB / 0.7721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4158, allocations: 0 / 0.7721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.4158, allocations: 95.27 kB / 0.7722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4158, allocations: 0 / 0.7722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002554/0.4161, allocations: 39.94 kB / 0.7723 GB, free: 13.54 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 (3): * Single equations (assignments): 3 * 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.0001874/0.4163, allocations: 131.2 kB / 0.7724 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.4166, allocations: 71.86 kB / 0.7725 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4166, allocations: 0 / 0.7725 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.4168, allocations: 43.89 kB / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4171, allocations: 15.94 kB / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.4174, allocations: 139.2 kB / 0.7727 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4176, allocations: 0.6846 MB / 0.7733 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.4176, allocations: 4 kB / 0.7733 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.4177, allocations: 11.44 kB / 0.7733 GB, free: 12.38 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4177, allocations: 0 / 0.7733 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Templates: time 0.003528/0.4212, allocations: 1.376 MB / 0.7747 GB, free: 11.01 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)