Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001324/0.001324, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001523/0.001523, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002556/0.002556, allocations: 285.6 kB / 313.5 MB, free: 2.602 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.004199/0.004199, allocations: 94.69 kB / 0.7403 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2384, allocations: 95.4 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002636/0.241, allocations: 1.308 MB / 0.8347 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.242, allocations: 0.5282 MB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.242, allocations: 0 / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2421, allocations: 7.922 kB / 0.8352 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.2421, allocations: 11.92 kB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.2425, allocations: 91.58 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.2426, allocations: 23.86 kB / 0.8353 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.2426, allocations: 4 kB / 0.8353 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.2426, allocations: 4 kB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.2427, allocations: 11.92 kB / 0.8354 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.2427, allocations: 0 / 0.8354 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.243, allocations: 135.8 kB / 0.8355 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.243, allocations: 8 kB / 0.8355 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.243, allocations: 8 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2432, allocations: 99.92 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2432, allocations: 0 / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2432, allocations: 0 / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2432, allocations: 0 / 0.8356 GB, free: 6.086 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004089/0.2437, allocations: 270.2 kB / 0.8359 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2437, allocations: 9.344 kB / 0.8359 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.581e-05/0.2437, allocations: 4.188 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2438, allocations: 34.73 kB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.2442, allocations: 32.91 kB / 0.8359 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2443, allocations: 114.5 kB / 0.836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2444, allocations: 12.3 kB / 0.8361 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2444, allocations: 384 / 0.8361 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2445, allocations: 49.98 kB / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2446, allocations: 0 / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2446, allocations: 0 / 0.8361 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2446, allocations: 4 kB / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2447, allocations: 27.91 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.2449, allocations: 124.8 kB / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.245, allocations: 38.59 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.2451, allocations: 16.91 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.2451, allocations: 8 kB / 0.8363 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2452, allocations: 34.5 kB / 0.8363 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2452, allocations: 3.938 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003135/0.2455, allocations: 73.59 kB / 0.8364 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.2455, allocations: 51.41 kB / 0.8365 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.2456, allocations: 97.84 kB / 0.8366 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2456, allocations: 25.83 kB / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.2457, allocations: 88.14 kB / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2457, allocations: 11.89 kB / 0.8367 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.2458, allocations: 13.7 kB / 0.8367 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2459, allocations: 314.8 kB / 0.837 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.246, allocations: 11.98 kB / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.2461, allocations: 12 kB / 0.837 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2463, allocations: 32.89 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2463, allocations: 0 / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002496/0.2465, allocations: 61.61 kB / 0.8371 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2466, allocations: 7.938 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2466, allocations: 0 / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2466, allocations: 0 / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2467, allocations: 11.98 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2467, allocations: 4.031 kB / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.2468, allocations: 4 kB / 0.8371 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2468, allocations: 0 / 0.8371 GB, free: 4.316 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 (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 prepare postOptimizeDAE: time 0.0001109/0.2469, allocations: 114.5 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.2469, allocations: 7.891 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.247, allocations: 11.25 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.247, allocations: 0 / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.247, allocations: 0 / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.247, allocations: 4 kB / 0.8373 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2472, allocations: 128.8 kB / 0.8374 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2472, allocations: 0 / 0.8374 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.2473, allocations: 7.984 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.2473, allocations: 3.938 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2473, allocations: 4 kB / 0.8374 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2473, allocations: 3.938 kB / 0.8374 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2473, allocations: 0 / 0.8374 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.2476, allocations: 85.11 kB / 0.8375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.2476, allocations: 11.92 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.2477, allocations: 4 kB / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.2477, allocations: 0 / 0.8375 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.2478, allocations: 4.172 kB / 0.8375 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2478, allocations: 7.938 kB / 0.8375 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.2478, allocations: 79.27 kB / 0.8376 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2478, allocations: 0 / 0.8376 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003116/0.2481, allocations: 15.94 kB / 0.8376 GB, free: 3.758 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.0007491/0.2489, allocations: 0.6397 MB / 0.8382 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.2491, allocations: 23.98 kB / 0.8382 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2491, allocations: 0 / 0.8382 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.2492, allocations: 20.06 kB / 0.8383 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2495, allocations: 8 kB / 0.8383 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.2502, allocations: 152.5 kB / 0.8384 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.414e-05/0.2502, allocations: 59.34 kB / 0.8385 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.517e-05/0.2503, allocations: 8.062 kB / 0.8385 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.2504, allocations: 11.44 kB / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2504, allocations: 0 / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.2788, allocations: 1.802 MB / 0.8403 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.29, allocations: 23.48 kB / 0.8403 GB, free: 1.094 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.788493817090057] Failed to read output from testmodel.py, exit status != 0: 11.456011299043894 11.48127042 11.233481305 Calling exit ...