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.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.0018/0.0018, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002267/0.002267, allocations: 211.1 kB / 23.02 MB, free: 4.953 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002517/0.002517, allocations: 280.9 kB / 313.5 MB, free: 2.645 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.261/1.261, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.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.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.00276/0.00276, allocations: 100.3 kB / 0.7402 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2126, allocations: 95.4 MB / 0.8334 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003211/0.2158, allocations: 1.506 MB / 0.8349 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2174, allocations: 0.7384 MB / 0.8356 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.2174, allocations: 4 kB / 0.8356 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.2175, allocations: 7.922 kB / 0.8356 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.2175, allocations: 7.875 kB / 0.8356 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.2181, allocations: 127.5 kB / 0.8357 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2182, allocations: 59.73 kB / 0.8358 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2183, allocations: 20.19 kB / 0.8358 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.2184, allocations: 19.92 kB / 0.8358 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2184, allocations: 27.86 kB / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2184, allocations: 4 kB / 0.8359 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2188, allocations: 167.8 kB / 0.836 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.2188, allocations: 7.984 kB / 0.836 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.2189, allocations: 23.88 kB / 0.836 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2192, allocations: 147.5 kB / 0.8362 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2192, allocations: 0 / 0.8362 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2192, allocations: 4 kB / 0.8362 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2192, allocations: 0 / 0.8362 GB, free: 5.512 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006172/0.2198, allocations: 329.8 kB / 0.8365 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2198, allocations: 13.34 kB / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.171e-05/0.2199, allocations: 192 / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.2199, allocations: 38.75 kB / 0.8366 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.2199, allocations: 0.9375 kB / 0.8366 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.22, allocations: 114.4 kB / 0.8367 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2201, allocations: 4.375 kB / 0.8367 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2201, allocations: 4.375 kB / 0.8367 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2204, allocations: 81.95 kB / 0.8368 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2204, allocations: 0 / 0.8368 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2204, allocations: 4 kB / 0.8368 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2204, allocations: 4 kB / 0.8368 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.2207, allocations: 63.92 kB / 0.8368 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.2211, allocations: 263.8 kB / 0.8371 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.2213, allocations: 54.53 kB / 0.8371 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2215, allocations: 40.91 kB / 0.8372 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.2217, allocations: 11.98 kB / 0.8372 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2217, allocations: 30.56 kB / 0.8372 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 3.617e-06/0.2217, allocations: 4 kB / 0.8372 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005583/0.2223, allocations: 137.5 kB / 0.8373 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2223, allocations: 51.41 kB / 0.8374 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2224, allocations: 121.8 kB / 0.8375 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2224, allocations: 25.7 kB / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.2225, allocations: 88.12 kB / 0.8376 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.2225, allocations: 19.89 kB / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.2226, allocations: 9.719 kB / 0.8376 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2227, allocations: 326.7 kB / 0.838 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2229, allocations: 31.95 kB / 0.838 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.223, allocations: 31.97 kB / 0.838 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.2233, allocations: 68.78 kB / 0.8381 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2233, allocations: 4 kB / 0.8381 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.2236, allocations: 101.5 kB / 0.8382 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2236, allocations: 6.5 kB / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2236, allocations: 0 / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2236, allocations: 0 / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2237, allocations: 23.97 kB / 0.8382 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2238, allocations: 0 / 0.8382 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.2238, allocations: 11.98 kB / 0.8382 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.2238, allocations: 0 / 0.8382 GB, free: 3.238 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 8.841e-05/0.2239, allocations: 118.4 kB / 0.8383 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.224, allocations: 3.953 kB / 0.8383 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.2243, allocations: 113.5 kB / 0.8384 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2243, allocations: 4 kB / 0.8384 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2243, allocations: 3.984 kB / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2243, allocations: 0 / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2245, allocations: 132.7 kB / 0.8386 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2245, allocations: 0 / 0.8386 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.2246, allocations: 19.98 kB / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2246, allocations: 0 / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2246, allocations: 0 / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2246, allocations: 3.984 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2246, allocations: 4 kB / 0.8386 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.225, allocations: 191.4 kB / 0.8388 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.225, allocations: 4.375 kB / 0.8388 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.225, allocations: 11.94 kB / 0.8388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2251, allocations: 15.97 kB / 0.8388 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2252, allocations: 4 kB / 0.8388 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2252, allocations: 4 kB / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.2252, allocations: 95.2 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2252, allocations: 0 / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002874/0.2255, allocations: 35.88 kB / 0.839 GB, free: 2.406 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 (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.000819/0.2263, allocations: 0.7708 MB / 0.8397 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2267, allocations: 71.86 kB / 0.8398 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2267, allocations: 0 / 0.8398 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2268, allocations: 31.97 kB / 0.8398 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2272, allocations: 19.92 kB / 0.8398 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.2291, allocations: 1.419 MB / 0.8412 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.092e-05/0.2291, allocations: 72.8 kB / 0.8413 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.2292, allocations: 12.17 kB / 0.8413 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.2292, allocations: 15.44 kB / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.2292, allocations: 0 / 0.8413 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.2529, allocations: 2.754 MB / 0.844 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.21, allocations: 15.31 kB / 0.844 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.652828247053549] Failed to read output from testmodel.py, exit status != 0: 11.366516608046368 11.38273908 11.160469887 Calling exit ...