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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007113/0.0007113, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007169/0.0007169, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.864/0.864, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001478/0.001478, allocations: 230.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6356/0.6356, allocations: 138.4 MB / 454.3 MB, free: 1.613 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.29e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.0015/0.001523, allocations: 1.304 MB / 0.6476 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.103/0.1046, allocations: 129.7 MB / 0.7742 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.1046, allocations: 0 / 0.7742 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.1046, allocations: 0 / 0.7742 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1047, allocations: 11.91 kB / 0.7742 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.105, allocations: 119.4 kB / 0.7743 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.395e-05/0.1051, allocations: 23.8 kB / 0.7743 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1051, allocations: 8 kB / 0.7744 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1052, allocations: 7.984 kB / 0.7744 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.218e-05/0.1052, allocations: 7.984 kB / 0.7744 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1052, allocations: 0 / 0.7744 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.1056, allocations: 159.7 kB / 0.7745 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.1056, allocations: 4 kB / 0.7745 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.1056, allocations: 15.92 kB / 0.7745 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1058, allocations: 123.7 kB / 0.7747 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1058, allocations: 4 kB / 0.7747 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1058, allocations: 0 / 0.7747 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1058, allocations: 0 / 0.7747 GB, free: 13.74 MB / 0.6198 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.0002844/0.1061, allocations: 284.7 kB / 0.7749 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1061, allocations: 12.75 kB / 0.7749 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.1062, allocations: 30.75 kB / 0.775 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.1065, allocations: 40.88 kB / 0.775 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.1066, allocations: 109.7 kB / 0.7751 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1066, allocations: 384 / 0.7751 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1066, allocations: 8.125 kB / 0.7751 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1068, allocations: 49.66 kB / 0.7752 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1068, allocations: 3.984 kB / 0.7752 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1068, allocations: 0 / 0.7752 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1068, allocations: 0 / 0.7752 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.1068, allocations: 23.92 kB / 0.7752 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.1071, allocations: 220 kB / 0.7754 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.1072, allocations: 30.52 kB / 0.7754 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1072, allocations: 8.906 kB / 0.7754 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.1072, allocations: 4 kB / 0.7755 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1072, allocations: 30.56 kB / 0.7755 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1072, allocations: 0 / 0.7755 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.1073, allocations: 49.59 kB / 0.7755 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1074, allocations: 51.41 kB / 0.7756 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.1075, allocations: 114 kB / 0.7757 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1075, allocations: 25.7 kB / 0.7757 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1075, allocations: 84.14 kB / 0.7758 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.1075, allocations: 11.89 kB / 0.7758 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1076, allocations: 17.7 kB / 0.7758 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.1076, allocations: 314.8 kB / 0.7761 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.1077, allocations: 15.98 kB / 0.7761 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.1077, allocations: 7.984 kB / 0.7761 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.1077, allocations: 28.84 kB / 0.7762 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1077, allocations: 0 / 0.7762 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.1078, allocations: 57.61 kB / 0.7762 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1079, allocations: 9.562 kB / 0.7762 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1079, allocations: 0 / 0.7762 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1079, allocations: 0 / 0.7762 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.1079, allocations: 11.98 kB / 0.7762 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.108, allocations: 7.938 kB / 0.7763 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.108, allocations: 15.94 kB / 0.7763 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.108, allocations: 3.984 kB / 0.7763 GB, free: 11.9 MB / 0.6198 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.108e-05/0.1081, allocations: 114.4 kB / 0.7764 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.1081, allocations: 0 / 0.7764 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.1081, allocations: 11.3 kB / 0.7764 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1081, allocations: 0 / 0.7764 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1081, allocations: 4 kB / 0.7764 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1081, allocations: 0 / 0.7764 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1082, allocations: 128.7 kB / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1082, allocations: 0 / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.1082, allocations: 0 / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1082, allocations: 4 kB / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1082, allocations: 3.984 kB / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.1082, allocations: 0 / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1083, allocations: 336 / 0.7765 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.95e-05/0.1083, allocations: 139.4 kB / 0.7767 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.1083, allocations: 0 / 0.7767 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1084, allocations: 11.91 kB / 0.7767 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.1084, allocations: 8.031 kB / 0.7767 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.1084, allocations: 0 / 0.7767 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1084, allocations: 0 / 0.7767 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.1085, allocations: 91.27 kB / 0.7768 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1085, allocations: 0 / 0.7768 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001723/0.1086, allocations: 15.94 kB / 0.7768 GB, free: 11.31 MB / 0.6198 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.0003374/0.109, allocations: 0.685 MB / 0.7775 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.326e-05/0.1091, allocations: 24.02 kB / 0.7775 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1091, allocations: 0 / 0.7775 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.1091, allocations: 4 kB / 0.7775 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1093, allocations: 7.984 kB / 0.7775 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.1097, allocations: 151.2 kB / 0.7776 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.1097, allocations: 59.34 kB / 0.7777 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.1097, allocations: 12 kB / 0.7777 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.1098, allocations: 16.5 kB / 0.7777 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.1098, allocations: 0 / 0.7777 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.1233, allocations: 2.299 MB / 0.78 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.376/6.499, allocations: 0 / 0.78 GB, free: 8.117 MB / 0.6198 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.226887363940477] Failed to read output from testmodel.py, exit status != 0: 6.576790614053607 6.586566329 6.47865086 Calling exit ...