Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001047/0.001047, allocations: 104 kB / 15.6 MB, free: 148 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.001133/0.001133, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 290.2 kB / 290.7 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 98.27 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002358/0.1651, allocations: 1.28 MB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4662/0.6313, allocations: 147.6 MB / 0.8257 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.6313, allocations: 7.938 kB / 0.8257 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.6314, allocations: 6.922 kB / 0.8257 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.6314, allocations: 7.453 kB / 0.8257 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.6319, allocations: 112.6 kB / 0.8258 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.6319, allocations: 20.34 kB / 0.8258 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.632, allocations: 4.172 kB / 0.8259 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.632, allocations: 4.156 kB / 0.8259 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.6321, allocations: 7.562 kB / 0.8259 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6321, allocations: 4.531 kB / 0.8259 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.6325, allocations: 175 kB / 0.826 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.6326, allocations: 6.922 kB / 0.826 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.6326, allocations: 7.906 kB / 0.826 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.6329, allocations: 110.7 kB / 0.8262 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6329, allocations: 0.5312 kB / 0.8262 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6329, allocations: 0 / 0.8262 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6329, allocations: 0.5938 kB / 0.8262 GB, free: 1.727 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004286/0.6333, allocations: 349.8 kB / 0.8265 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6334, allocations: 13.91 kB / 0.8265 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.6334, allocations: 31.31 kB / 0.8265 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.634, allocations: 35.86 kB / 0.8266 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6341, allocations: 168.2 kB / 0.8267 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.6341, allocations: 4.594 kB / 0.8267 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.6342, allocations: 8.5 kB / 0.8267 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.6343, allocations: 47 kB / 0.8268 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6344, allocations: 0 / 0.8268 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6344, allocations: 1.156 kB / 0.8268 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6344, allocations: 1.781 kB / 0.8268 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.6345, allocations: 23.42 kB / 0.8268 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.6348, allocations: 257.6 kB / 0.8271 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.6349, allocations: 22.81 kB / 0.8271 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.6349, allocations: 11.73 kB / 0.8271 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.6349, allocations: 5.234 kB / 0.8271 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.635, allocations: 30.56 kB / 0.8271 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.635, allocations: 0 / 0.8271 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.6351, allocations: 50.11 kB / 0.8272 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.6351, allocations: 51.41 kB / 0.8272 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6353, allocations: 108.2 kB / 0.8273 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.6353, allocations: 25.7 kB / 0.8273 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.6353, allocations: 95.19 kB / 0.8274 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.6354, allocations: 5.156 kB / 0.8274 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.6354, allocations: 18.52 kB / 0.8275 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.6355, allocations: 323.3 kB / 0.8278 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.6356, allocations: 9.875 kB / 0.8278 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.6356, allocations: 8.688 kB / 0.8278 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.761e-05/0.6357, allocations: 29.47 kB / 0.8278 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6357, allocations: 0 / 0.8278 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001753/0.6359, allocations: 64.44 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6359, allocations: 5.688 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6359, allocations: 1.625 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.636, allocations: 1.125 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.6361, allocations: 10.73 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6361, allocations: 1.344 kB / 0.8279 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.6362, allocations: 10.5 kB / 0.8279 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6362, allocations: 1.062 kB / 0.8279 GB, free: 16.01 MB / 0.5762 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 6.735e-05/0.6363, allocations: 114.9 kB / 0.828 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.6363, allocations: 2.375 kB / 0.828 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.6363, allocations: 6.438 kB / 0.828 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6364, allocations: 1.125 kB / 0.828 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6364, allocations: 3.938 kB / 0.828 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6364, allocations: 3.938 kB / 0.828 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.6365, allocations: 153.3 kB / 0.8282 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6365, allocations: 1.375 kB / 0.8282 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.6365, allocations: 4.469 kB / 0.8282 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6365, allocations: 2.391 kB / 0.8282 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.6366, allocations: 9.094 kB / 0.8282 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6366, allocations: 0 / 0.8282 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6366, allocations: 0 / 0.8282 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.6367, allocations: 138.5 kB / 0.8283 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.6367, allocations: 78.2 kB / 0.8284 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.6367, allocations: 3.562 kB / 0.8284 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.6368, allocations: 2.25 kB / 0.8284 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.6369, allocations: 5.281 kB / 0.8284 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.6369, allocations: 3.938 kB / 0.8284 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.637, allocations: 91.44 kB / 0.8285 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/0.637, allocations: 0 / 0.8285 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002428/0.6372, allocations: 25.98 kB / 0.8285 GB, free: 15.37 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0003853/0.6376, allocations: 0.6738 MB / 0.8292 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.6377, allocations: 19.53 kB / 0.8292 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6378, allocations: 1.125 kB / 0.8292 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.6378, allocations: 14 kB / 0.8292 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.6381, allocations: 17.33 kB / 0.8292 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.6385, allocations: 156 kB / 0.8294 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.6387, allocations: 0.6747 MB / 0.83 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.6388, allocations: 13.19 kB / 0.8301 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.6388, allocations: 9.531 kB / 0.8301 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6388, allocations: 4.969 kB / 0.8301 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.6558, allocations: 1.588 MB / 0.8316 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.526, allocations: 8.859 kB / 0.8316 GB, free: 13.48 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)