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.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.001765/0.001765, allocations: 119 kB / 17.17 MB, free: 5.906 MB / 14.72 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.001803/0.001803, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.00268/0.00268, allocations: 279 kB / 309.8 MB, free: 3.52 MB / 238.1 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 1.077/1.077, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.1 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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003298/0.003298, allocations: 99.86 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5939, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002472/0.5964, allocations: 1.295 MB / 0.829 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.5976, allocations: 0.8393 MB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.5976, allocations: 0 / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.5977, allocations: 0 / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.5977, allocations: 4.641 kB / 0.8299 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.5982, allocations: 141 kB / 0.83 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.5983, allocations: 18.84 kB / 0.83 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.5984, allocations: 3.422 kB / 0.83 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.5984, allocations: 14.73 kB / 0.83 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.5985, allocations: 8.156 kB / 0.83 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.5985, allocations: 2.625 kB / 0.8301 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.5988, allocations: 175.8 kB / 0.8302 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.5988, allocations: 2.062 kB / 0.8302 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.5989, allocations: 18.03 kB / 0.8302 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.5991, allocations: 125.8 kB / 0.8304 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5991, allocations: 2.625 kB / 0.8304 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5991, allocations: 0 / 0.8304 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5991, allocations: 0 / 0.8304 GB, free: 1.363 MB / 0.5762 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.0004156/0.5995, allocations: 360.5 kB / 0.8307 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5996, allocations: 14.44 kB / 0.8307 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.533e-05/0.5996, allocations: 192 / 0.8307 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.5996, allocations: 44.48 kB / 0.8308 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.5997, allocations: 8.172 kB / 0.8308 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.5998, allocations: 164.2 kB / 0.8309 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/0.5998, allocations: 29.45 kB / 0.831 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.5999, allocations: 384 / 0.831 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6, allocations: 51.16 kB / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.6, allocations: 0 / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6, allocations: 0 / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6, allocations: 0 / 0.831 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.6001, allocations: 20.95 kB / 0.831 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.6003, allocations: 159.7 kB / 0.8312 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.6005, allocations: 48.78 kB / 0.8312 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.6005, allocations: 12.69 kB / 0.8312 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.6008, allocations: 186.4 kB / 0.8314 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.6008, allocations: 40.05 kB / 0.8314 GB, free: 176 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.6008, allocations: 0 / 0.8314 GB, free: 176 kB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002616/0.6011, allocations: 69.66 kB / 0.8315 GB, free: 132 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.6011, allocations: 51.41 kB / 0.8316 GB, free: 68 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.6012, allocations: 94.69 kB / 0.8317 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.6012, allocations: 25.7 kB / 0.8317 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.6013, allocations: 90.7 kB / 0.8318 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.6013, allocations: 17.39 kB / 0.8318 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.6013, allocations: 15.75 kB / 0.8318 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6015, allocations: 316.2 kB / 0.8321 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.6015, allocations: 7.359 kB / 0.8321 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.6016, allocations: 13.12 kB / 0.8321 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.656e-05/0.6017, allocations: 24.92 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6017, allocations: 0 / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.6018, allocations: 72.45 kB / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6019, allocations: 5.703 kB / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6019, allocations: 1.344 kB / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6019, allocations: 0 / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.6019, allocations: 8.219 kB / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6019, allocations: 3.984 kB / 0.8322 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.602, allocations: 7.875 kB / 0.8322 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.602, allocations: 0 / 0.8322 GB, free: 15.42 MB / 0.5919 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 9.311e-05/0.6021, allocations: 116.7 kB / 0.8323 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.6021, allocations: 10.56 kB / 0.8324 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.6023, allocations: 67.08 kB / 0.8324 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6023, allocations: 3.625 kB / 0.8324 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6023, allocations: 0 / 0.8324 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6023, allocations: 0.8438 kB / 0.8324 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.6025, allocations: 151.8 kB / 0.8326 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6025, allocations: 8.125 kB / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.6025, allocations: 9.984 kB / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6025, allocations: 4.703 kB / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.6025, allocations: 2.625 kB / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6025, allocations: 0 / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6025, allocations: 0.6562 kB / 0.8326 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.6027, allocations: 86.62 kB / 0.8327 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.6028, allocations: 85.11 kB / 0.8328 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6028, allocations: 4.562 kB / 0.8328 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.6028, allocations: 8.188 kB / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6029, allocations: 7.875 kB / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.6029, allocations: 0 / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.6029, allocations: 79.45 kB / 0.8329 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6029, allocations: 0 / 0.8329 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002634/0.6032, allocations: 42.45 kB / 0.8329 GB, free: 14.77 MB / 0.5919 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.00063/0.6038, allocations: 0.6578 MB / 0.8335 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.604, allocations: 28.06 kB / 0.8336 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.604, allocations: 3.938 kB / 0.8336 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.6041, allocations: 15.39 kB / 0.8336 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.6044, allocations: 4.109 kB / 0.8336 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.6049, allocations: 176 kB / 0.8338 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6052, allocations: 0.6766 MB / 0.8344 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.6053, allocations: 3.547 kB / 0.8344 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.6053, allocations: 12.17 kB / 0.8344 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6053, allocations: 6.656 kB / 0.8344 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.6254, allocations: 2.061 MB / 0.8365 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.8, allocations: 4.719 kB / 0.8365 GB, free: 12.84 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.982796325988602] Failed to read output from testmodel.py, exit status != 0: 8.922611283021979 8.939106407 8.336889458 Calling exit ...