Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001248/0.001248, allocations: 187 kB / 17.34 MB, free: 5.762 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002652/0.002652, allocations: 296.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 103.8 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3964, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002342/0.3988, allocations: 1.273 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.4, allocations: 0.8319 MB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.4001, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.4001, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.4002, allocations: 7.922 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.4007, allocations: 127.4 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.4008, allocations: 27.92 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.4008, allocations: 3.984 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.4008, allocations: 8 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.4009, allocations: 19.91 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4009, allocations: 0 / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.4013, allocations: 167.7 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.4013, allocations: 7.984 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4013, allocations: 7.938 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.4016, allocations: 122 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4016, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4016, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4016, allocations: 4 kB / 0.7696 GB, free: 1.324 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.0004268/0.402, allocations: 363.4 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4021, allocations: 8.031 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.4021, allocations: 4.938 kB / 0.7699 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4022, allocations: 164.3 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.4023, allocations: 38.19 kB / 0.7701 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.4023, allocations: 4.375 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4025, allocations: 46.23 kB / 0.7702 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4025, allocations: 3.938 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4025, allocations: 8 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4025, allocations: 0 / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.4026, allocations: 15.92 kB / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4028, allocations: 165.7 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.403, allocations: 42.55 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.403, allocations: 24.94 kB / 0.7704 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.4033, allocations: 178.2 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4034, allocations: 34.56 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4034, allocations: 0 / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002497/0.4036, allocations: 69.52 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4037, allocations: 59.41 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.4037, allocations: 93.86 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4038, allocations: 29.64 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.4038, allocations: 80.14 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.4038, allocations: 19.83 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.4039, allocations: 13.72 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.404, allocations: 314.8 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.404, allocations: 7.984 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.4041, allocations: 16 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.4042, allocations: 24.84 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4042, allocations: 0 / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.4043, allocations: 65.58 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4043, allocations: 7.938 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4043, allocations: 0 / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4044, allocations: 0 / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.4044, allocations: 11.94 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4044, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.4045, allocations: 4 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4045, allocations: 4 kB / 0.7714 GB, free: 15.17 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 (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 7.385e-05/0.4046, allocations: 112.2 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4046, allocations: 8.453 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.4047, allocations: 65.17 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4048, allocations: 4.031 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4048, allocations: 4 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4048, allocations: 4 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.4049, allocations: 157.6 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4049, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.4049, allocations: 11.94 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.405, allocations: 7.875 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.405, allocations: 3.984 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.405, allocations: 0 / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.405, allocations: 0 / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.4051, allocations: 85.03 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.4052, allocations: 85.09 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4052, allocations: 3.938 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.4053, allocations: 4 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.4053, allocations: 7.984 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4053, allocations: 0 / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.4054, allocations: 79.28 kB / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4054, allocations: 0 / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002436/0.4056, allocations: 32 kB / 0.7721 GB, free: 14.41 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.0002136/0.4058, allocations: 147.1 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.406, allocations: 27.97 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.406, allocations: 0 / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.4061, allocations: 19.94 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4063, allocations: 7.984 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.4066, allocations: 140.9 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4068, allocations: 0.6768 MB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.4068, allocations: 15.42 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4068, allocations: 4 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002403/0.4092, allocations: 0.9948 MB / 0.7741 GB, free: 12.31 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)