Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.00163/0.00163, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002049/0.002049, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.604/1.604, 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.003828/0.003828, allocations: 289 kB / 309.8 MB, free: 3.465 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.106/1.106, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 178] 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.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0028/0.0028, allocations: 103.9 kB / 0.7347 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6424, allocations: 95.33 MB / 0.8278 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002262/0.6446, allocations: 1.295 MB / 0.829 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005297/0.6452, allocations: 295.9 kB / 0.8293 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.6452, allocations: 0 / 0.8293 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.6452, allocations: 4.594 kB / 0.8293 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.6453, allocations: 7.203 kB / 0.8293 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.6456, allocations: 47.72 kB / 0.8294 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.6456, allocations: 26.94 kB / 0.8294 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.6457, allocations: 4.562 kB / 0.8294 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.6457, allocations: 9.422 kB / 0.8294 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.6458, allocations: 8.5 kB / 0.8294 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.6458, allocations: 1.062 kB / 0.8294 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.6459, allocations: 53.5 kB / 0.8295 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.6459, allocations: 7.422 kB / 0.8295 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.6459, allocations: 16 kB / 0.8295 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.6461, allocations: 42.33 kB / 0.8295 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6461, allocations: 1.031 kB / 0.8295 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6461, allocations: 3.938 kB / 0.8295 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.6461, allocations: 0 / 0.8295 GB, free: 1.676 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.0003802/0.6465, allocations: 336.8 kB / 0.8299 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6465, allocations: 10.62 kB / 0.8299 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.432e-05/0.6465, allocations: 192 / 0.8299 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.948e-05/0.6465, allocations: 35.5 kB / 0.8299 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.6468, allocations: 22.25 kB / 0.8299 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.11e-05/0.6468, allocations: 162 kB / 0.8301 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6468, allocations: 3.75 kB / 0.8301 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6468, allocations: 384 / 0.8301 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.647, allocations: 49.75 kB / 0.8301 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.647, allocations: 0 / 0.8301 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.647, allocations: 0 / 0.8301 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.647, allocations: 2.5 kB / 0.8301 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.647, allocations: 18.67 kB / 0.8302 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.6472, allocations: 158.6 kB / 0.8303 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.649, allocations: 263.4 kB / 0.8306 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.649, allocations: 16.94 kB / 0.8306 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.649, allocations: 5.156 kB / 0.8306 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.649, allocations: 38.38 kB / 0.8306 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.649, allocations: 0 / 0.8306 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.6492, allocations: 66.66 kB / 0.8307 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.6492, allocations: 53.41 kB / 0.8307 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.6493, allocations: 100 kB / 0.8308 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.6493, allocations: 25.7 kB / 0.8309 GB, free: 488 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.261e-05/0.6493, allocations: 81.64 kB / 0.8309 GB, free: 404 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.6493, allocations: 14.61 kB / 0.8309 GB, free: 392 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.6493, allocations: 20.61 kB / 0.831 GB, free: 372 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.6494, allocations: 311.6 kB / 0.8313 GB, free: 52 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.6494, allocations: 8.031 kB / 0.8313 GB, free: 48 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.6494, allocations: 9.828 kB / 0.8313 GB, free: 44 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.6495, allocations: 37.83 kB / 0.8313 GB, free: 16 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6495, allocations: 0 / 0.8313 GB, free: 16 kB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.522e-05/0.6495, allocations: 51.52 kB / 0.8314 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6496, allocations: 10.03 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6496, allocations: 0 / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6496, allocations: 2.781 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.6496, allocations: 10.08 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6496, allocations: 0.7969 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.6497, allocations: 0 / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.6497, allocations: 3.938 kB / 0.8314 GB, free: 15.96 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 7.553e-05/0.6497, allocations: 116.6 kB / 0.8315 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.6498, allocations: 6.688 kB / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.6498, allocations: 8.438 kB / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6498, allocations: 0 / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6498, allocations: 0 / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6498, allocations: 0.7969 kB / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.6499, allocations: 154.9 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6499, allocations: 4 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.65, allocations: 9.875 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.65, allocations: 5.438 kB / 0.8317 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.65, allocations: 4.656 kB / 0.8317 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.65, allocations: 0 / 0.8317 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.65, allocations: 3.594 kB / 0.8317 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.6501, allocations: 81.52 kB / 0.8318 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.6502, allocations: 82.5 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.6503, allocations: 3.328 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.6503, allocations: 4.516 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.6503, allocations: 5.5 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.6503, allocations: 2.625 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.6504, allocations: 75.28 kB / 0.8319 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6504, allocations: 0 / 0.8319 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001755/0.6505, allocations: 7.875 kB / 0.8319 GB, free: 15.37 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.0004319/0.651, allocations: 0.6152 MB / 0.8325 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.6511, allocations: 29.53 kB / 0.8326 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6511, allocations: 3.938 kB / 0.8326 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.6511, allocations: 10.44 kB / 0.8326 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6514, allocations: 15.86 kB / 0.8326 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.6518, allocations: 160.5 kB / 0.8328 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6522, allocations: 0.679 MB / 0.8334 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.6522, allocations: 0.6562 kB / 0.8334 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.6522, allocations: 14.06 kB / 0.8334 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.6522, allocations: 0 / 0.8334 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.6692, allocations: 1.384 MB / 0.8348 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.761, allocations: 9.797 kB / 0.8348 GB, free: 13.51 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.045186377014033] Failed to read output from testmodel.py, exit status != 0: 8.905135265958961 8.925622124 8.276123289 Calling exit ...