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.001332/0.001332, allocations: 97.92 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.001507/0.001507, allocations: 218.6 kB / 23.03 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002496/0.002496, allocations: 287 kB / 313.5 MB, free: 2.621 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.247/1.247, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002786/0.002786, allocations: 107.3 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2146, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002674/0.2173, allocations: 1.311 MB / 0.8347 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.3886, allocations: 129.5 MB / 0.9612 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.3886, allocations: 0 / 0.9612 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.3886, allocations: 4 kB / 0.9612 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.3887, allocations: 11.91 kB / 0.9612 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.3892, allocations: 115.5 kB / 0.9613 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.3892, allocations: 19.86 kB / 0.9613 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3893, allocations: 4 kB / 0.9613 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.3893, allocations: 4 kB / 0.9613 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.3894, allocations: 11.94 kB / 0.9614 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3894, allocations: 4 kB / 0.9614 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.3898, allocations: 175.6 kB / 0.9615 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.3898, allocations: 0 / 0.9615 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3898, allocations: 11.92 kB / 0.9615 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.3901, allocations: 108 kB / 0.9616 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3901, allocations: 3.938 kB / 0.9616 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3901, allocations: 0 / 0.9616 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3901, allocations: 0 / 0.9616 GB, free: 4.52 MB / 0.7012 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.0003644/0.3904, allocations: 274.1 kB / 0.9619 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3905, allocations: 13.94 kB / 0.9619 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.3905, allocations: 192 / 0.9619 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.3905, allocations: 34.75 kB / 0.962 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/0.3911, allocations: 44.83 kB / 0.962 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3913, allocations: 114 kB / 0.9621 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3913, allocations: 4 kB / 0.9621 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3913, allocations: 0 / 0.9621 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3915, allocations: 49.66 kB / 0.9622 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3915, allocations: 0 / 0.9622 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3915, allocations: 0 / 0.9622 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3915, allocations: 0 / 0.9622 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3916, allocations: 19.98 kB / 0.9622 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.392, allocations: 220 kB / 0.9624 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.3921, allocations: 26.52 kB / 0.9624 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.3921, allocations: 12.91 kB / 0.9624 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3921, allocations: 7.938 kB / 0.9624 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3921, allocations: 34.56 kB / 0.9625 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3921, allocations: 0 / 0.9625 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.3923, allocations: 41.7 kB / 0.9625 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3923, allocations: 55.34 kB / 0.9626 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3925, allocations: 125.8 kB / 0.9627 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3925, allocations: 25.7 kB / 0.9627 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3926, allocations: 84.09 kB / 0.9628 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.3926, allocations: 15.94 kB / 0.9628 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3926, allocations: 25.7 kB / 0.9628 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3928, allocations: 314.8 kB / 0.9631 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.3928, allocations: 7.984 kB / 0.9631 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.3929, allocations: 11.98 kB / 0.9631 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.733e-05/0.393, allocations: 20.84 kB / 0.9632 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.393, allocations: 0 / 0.9632 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001932/0.3932, allocations: 65.61 kB / 0.9632 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3932, allocations: 4 kB / 0.9632 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3932, allocations: 0 / 0.9632 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3932, allocations: 0 / 0.9632 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3933, allocations: 11.98 kB / 0.9632 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3933, allocations: 3.938 kB / 0.9632 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3935, allocations: 7.984 kB / 0.9632 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3935, allocations: 4 kB / 0.9633 GB, free: 2.68 MB / 0.7012 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 9.019e-05/0.3936, allocations: 114.5 kB / 0.9634 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3936, allocations: 3.953 kB / 0.9634 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.3936, allocations: 7.312 kB / 0.9634 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3936, allocations: 0 / 0.9634 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3936, allocations: 7.922 kB / 0.9634 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3936, allocations: 0 / 0.9634 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3938, allocations: 120.8 kB / 0.9635 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3938, allocations: 0 / 0.9635 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.3938, allocations: 4 kB / 0.9635 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3938, allocations: 0 / 0.9635 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3938, allocations: 4 kB / 0.9635 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.3938, allocations: 3.984 kB / 0.9635 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3938, allocations: 3.938 kB / 0.9635 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.394, allocations: 135.5 kB / 0.9636 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.394, allocations: 0 / 0.9636 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.394, allocations: 4 kB / 0.9636 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.3941, allocations: 7.984 kB / 0.9637 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.3941, allocations: 3.938 kB / 0.9637 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3941, allocations: 0 / 0.9637 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3942, allocations: 99.23 kB / 0.9637 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3942, allocations: 0 / 0.9637 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002461/0.3945, allocations: 19.88 kB / 0.9638 GB, free: 2.082 MB / 0.7012 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.0006605/0.3951, allocations: 0.6773 MB / 0.9644 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3953, allocations: 19.98 kB / 0.9644 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3953, allocations: 0 / 0.9644 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.3953, allocations: 8.031 kB / 0.9645 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.3957, allocations: 20.95 kB / 0.9645 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.3962, allocations: 160.9 kB / 0.9646 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.381e-05/0.3963, allocations: 63.34 kB / 0.9647 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 6.061e-05/0.3963, allocations: 12.61 kB / 0.9647 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.3964, allocations: 11.44 kB / 0.9647 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.3964, allocations: 0 / 0.9647 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.4183, allocations: 1.82 MB / 0.9665 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.34, allocations: 4.688 kB / 0.9665 GB, free: 15.36 MB / 0.7169 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.77624821907375] Failed to read output from testmodel.py, exit status != 0: 11.507730896002613 11.52999524 11.136634634 Calling exit ...