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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007996/0.007996, allocations: 102 kB / 15.73 MB, free: 6.445 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.002145/0.002145, allocations: 194.5 kB / 16.67 MB, free: 6.352 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00352/0.00352, allocations: 286.5 kB / 290.8 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003657/0.003658, allocations: 104.2 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2124, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002613/0.2151, allocations: 1.501 MB / 0.7674 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2164, allocations: 0.8113 MB / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.2165, allocations: 0 / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2165, allocations: 11.86 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.2166, allocations: 3.938 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.217, allocations: 131.4 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.2171, allocations: 51.84 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2172, allocations: 20.2 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.2173, allocations: 23.92 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.2174, allocations: 23.91 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2174, allocations: 4 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.2177, allocations: 171.7 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.2178, allocations: 15.92 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.2178, allocations: 19.86 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2181, allocations: 143.6 kB / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2181, allocations: 0 / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2181, allocations: 7.938 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2181, allocations: 0 / 0.7688 GB, free: 5.996 MB / 0.5606 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.0006111/0.2187, allocations: 399 kB / 0.7691 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2188, allocations: 8.031 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.2188, allocations: 34.75 kB / 0.7692 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.2189, allocations: 8.891 kB / 0.7692 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.219, allocations: 180.2 kB / 0.7694 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.219, allocations: 4.375 kB / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.219, allocations: 4.375 kB / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2193, allocations: 70.22 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2193, allocations: 7.922 kB / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2193, allocations: 0 / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2193, allocations: 0 / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.2196, allocations: 75.92 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.2201, allocations: 284.7 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2203, allocations: 62.53 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2204, allocations: 40.92 kB / 0.7699 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.2206, allocations: 89.09 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2207, allocations: 30.56 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2207, allocations: 0 / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/0.2212, allocations: 137.5 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2213, allocations: 51.41 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2214, allocations: 117.8 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2214, allocations: 29.7 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.2215, allocations: 92.12 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2215, allocations: 15.78 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.2216, allocations: 17.72 kB / 0.7704 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2217, allocations: 322.8 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2219, allocations: 31.97 kB / 0.7708 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.222, allocations: 31.95 kB / 0.7708 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2223, allocations: 72.73 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2223, allocations: 0 / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003148/0.2226, allocations: 97.61 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2226, allocations: 4 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2226, allocations: 0 / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2226, allocations: 4 kB / 0.771 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2228, allocations: 11.98 kB / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2228, allocations: 4 kB / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.2229, allocations: 15.94 kB / 0.771 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.2229, allocations: 4 kB / 0.771 GB, free: 3.43 MB / 0.5606 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 8.802e-05/0.223, allocations: 118.4 kB / 0.7711 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.223, allocations: 0 / 0.7711 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.2234, allocations: 113.5 kB / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2234, allocations: 4 kB / 0.7712 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2234, allocations: 4 kB / 0.7712 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2234, allocations: 0 / 0.7712 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2236, allocations: 174 kB / 0.7714 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2236, allocations: 0 / 0.7714 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.2237, allocations: 15.98 kB / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2237, allocations: 0 / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2237, allocations: 0 / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2237, allocations: 4 kB / 0.7714 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2237, allocations: 0 / 0.7714 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.2241, allocations: 211.3 kB / 0.7716 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.2242, allocations: 81.06 kB / 0.7717 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2242, allocations: 0 / 0.7717 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2243, allocations: 15.98 kB / 0.7717 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2243, allocations: 7.984 kB / 0.7717 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2244, allocations: 4 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.2244, allocations: 95.2 kB / 0.7718 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2244, allocations: 0 / 0.7718 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000259/0.2247, allocations: 31.88 kB / 0.7718 GB, free: 2.465 MB / 0.5606 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.000846/0.2255, allocations: 0.763 MB / 0.7726 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.2259, allocations: 75.86 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2259, allocations: 0 / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2261, allocations: 39.95 kB / 0.7727 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2264, allocations: 4 kB / 0.7727 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.2283, allocations: 1.429 MB / 0.7741 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3865/0.6148, allocations: 0.681 MB / 0.7748 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.29e-05/0.6149, allocations: 6.5 kB / 0.7748 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.615, allocations: 17.66 kB / 0.7748 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.133e-06/0.615, allocations: 1.594 kB / 0.7748 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.6394, allocations: 2.462 MB / 0.7772 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.452, allocations: 5.766 kB / 0.7772 GB, free: 13.84 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)