Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_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.001874/0.001874, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002325/0.002325, allocations: 215 kB / 20.13 MB, free: 2.949 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002543/0.002543, allocations: 292.4 kB / 309.8 MB, free: 3.473 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.132/1.132, allocations: 180.6 MB / 0.5338 GB, free: 12.4 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.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_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.003173/0.003173, allocations: 103.8 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5978, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002872/0.6006, allocations: 1.524 MB / 0.8293 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1866/0.7872, allocations: 135.3 MB / 0.9614 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.7873, allocations: 4 kB / 0.9614 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.7874, allocations: 3.938 kB / 0.9614 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.7874, allocations: 11.92 kB / 0.9614 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.7878, allocations: 67.66 kB / 0.9614 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.788, allocations: 51.84 kB / 0.9615 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.788, allocations: 11.98 kB / 0.9615 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.7881, allocations: 23.92 kB / 0.9615 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.7882, allocations: 27.84 kB / 0.9615 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.7882, allocations: 4 kB / 0.9616 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.7883, allocations: 27.92 kB / 0.9616 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.7883, allocations: 4 kB / 0.9616 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.7884, allocations: 31.86 kB / 0.9616 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.7885, allocations: 59.55 kB / 0.9617 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7885, allocations: 0 / 0.9617 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7885, allocations: 0 / 0.9617 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7885, allocations: 0 / 0.9617 GB, free: 0.5859 MB / 0.6856 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.0005999/0.7891, allocations: 375.2 kB / 0.962 GB, free: 172 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7892, allocations: 12.03 kB / 0.962 GB, free: 160 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.595e-05/0.7892, allocations: 12.19 kB / 0.962 GB, free: 148 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.7892, allocations: 30.75 kB / 0.9621 GB, free: 108 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.7893, allocations: 4.938 kB / 0.9621 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.7894, allocations: 176.2 kB / 0.9623 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.7894, allocations: 384 / 0.9623 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.7895, allocations: 8.375 kB / 0.9623 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.7897, allocations: 77.95 kB / 0.9623 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7897, allocations: 0 / 0.9623 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7898, allocations: 4 kB / 0.9623 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7898, allocations: 0 / 0.9623 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.7901, allocations: 63.92 kB / 0.9624 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.7905, allocations: 288.7 kB / 0.9627 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.7907, allocations: 50.55 kB / 0.9627 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.7909, allocations: 44.84 kB / 0.9628 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.7911, allocations: 93.09 kB / 0.9629 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7911, allocations: 30.56 kB / 0.9629 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.7911, allocations: 4 kB / 0.9629 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0005882/0.7917, allocations: 137.5 kB / 0.963 GB, free: 15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.7918, allocations: 51.41 kB / 0.9631 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.7919, allocations: 117.8 kB / 0.9632 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7919, allocations: 25.7 kB / 0.9632 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.792, allocations: 92.08 kB / 0.9633 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.792, allocations: 15.88 kB / 0.9633 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.792, allocations: 13.72 kB / 0.9633 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7922, allocations: 318.8 kB / 0.9636 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.7924, allocations: 31.95 kB / 0.9637 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.7925, allocations: 31.97 kB / 0.9637 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.7928, allocations: 72.72 kB / 0.9638 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7928, allocations: 0 / 0.9638 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003506/0.7932, allocations: 97.58 kB / 0.9638 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7932, allocations: 12 kB / 0.9639 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7932, allocations: 336 / 0.9639 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7932, allocations: 0 / 0.9639 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.7933, allocations: 19.97 kB / 0.9639 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7933, allocations: 0 / 0.9639 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.7934, allocations: 11.98 kB / 0.9639 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7934, allocations: 4 kB / 0.9639 GB, free: 14.05 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 0.0001029/0.7935, allocations: 117.3 kB / 0.964 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.7936, allocations: 11.94 kB / 0.964 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.794, allocations: 109.5 kB / 0.9641 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.794, allocations: 0 / 0.9641 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.794, allocations: 0 / 0.9641 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.794, allocations: 0 / 0.9641 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.7942, allocations: 177.6 kB / 0.9643 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7942, allocations: 8 kB / 0.9643 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.7943, allocations: 11.98 kB / 0.9643 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7943, allocations: 3.984 kB / 0.9643 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.7943, allocations: 4 kB / 0.9643 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7943, allocations: 4 kB / 0.9643 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7943, allocations: 0 / 0.9643 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.7947, allocations: 199.4 kB / 0.9645 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.7948, allocations: 85.06 kB / 0.9646 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.7948, allocations: 0 / 0.9646 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7949, allocations: 11.97 kB / 0.9646 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.795, allocations: 8 kB / 0.9646 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.795, allocations: 3.938 kB / 0.9646 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.795, allocations: 95.2 kB / 0.9647 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.795, allocations: 8 kB / 0.9647 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002511/0.7953, allocations: 15.94 kB / 0.9647 GB, free: 13.09 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 (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.0008256/0.7961, allocations: 0.7435 MB / 0.9655 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.7965, allocations: 63.92 kB / 0.9655 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7965, allocations: 0 / 0.9655 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7966, allocations: 35.97 kB / 0.9656 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7969, allocations: 15.98 kB / 0.9656 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.799, allocations: 1.415 MB / 0.9669 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.7993, allocations: 0.6807 MB / 0.9676 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.7993, allocations: 7.969 kB / 0.9676 GB, free: 10 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.7994, allocations: 19.44 kB / 0.9676 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of SimCode: time 2.8e-07/0.7994, allocations: 0 / 0.9676 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.818, allocations: 2.132 MB / 0.9697 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.11, allocations: 11.41 kB / 0.9697 GB, free: 7.988 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.268305489968043] Failed to read output from testmodel.py, exit status != 0: 9.237620759988204 9.262316408 8.468411316 Calling exit ...