Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001323/0.001323, allocations: 122 kB / 17.84 MB, free: 5.254 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.002092/0.002092, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.565/1.565, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.006/1.006, allocations: 150 MB / 460.2 MB, free: 5.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003233/0.003233, allocations: 64.59 kB / 0.6368 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2127, allocations: 89.13 MB / 0.7238 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003419/0.2161, allocations: 1.51 MB / 0.7253 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.3892, allocations: 135.3 MB / 0.8574 GB, free: 10.74 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3892, allocations: 4 kB / 0.8574 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.3893, allocations: 7.938 kB / 0.8574 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.3893, allocations: 15.84 kB / 0.8574 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3898, allocations: 75.94 kB / 0.8575 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3899, allocations: 55.72 kB / 0.8575 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.39, allocations: 8 kB / 0.8575 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.39, allocations: 23.91 kB / 0.8576 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.3901, allocations: 27.91 kB / 0.8576 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3901, allocations: 4 kB / 0.8576 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3902, allocations: 35.92 kB / 0.8576 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.3902, allocations: 7.938 kB / 0.8576 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3903, allocations: 27.86 kB / 0.8577 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3905, allocations: 59.8 kB / 0.8577 GB, free: 10.39 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3905, allocations: 0 / 0.8577 GB, free: 10.39 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3905, allocations: 0 / 0.8577 GB, free: 10.39 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3905, allocations: 0 / 0.8577 GB, free: 10.39 MB / 0.67 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.0007503/0.3912, allocations: 375.2 kB / 0.8581 GB, free: 9.973 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3913, allocations: 12.03 kB / 0.8581 GB, free: 9.961 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.862e-05/0.3913, allocations: 192 / 0.8581 GB, free: 9.961 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.3914, allocations: 38.75 kB / 0.8581 GB, free: 9.914 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3915, allocations: 16.88 kB / 0.8581 GB, free: 9.898 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3916, allocations: 172.3 kB / 0.8583 GB, free: 9.691 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3916, allocations: 8.312 kB / 0.8583 GB, free: 9.684 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3917, allocations: 384 / 0.8583 GB, free: 9.684 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3919, allocations: 85.95 kB / 0.8584 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3919, allocations: 0 / 0.8584 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.392, allocations: 3.938 kB / 0.8584 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.392, allocations: 0 / 0.8584 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3923, allocations: 67.92 kB / 0.8585 GB, free: 9.523 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.3927, allocations: 296.7 kB / 0.8588 GB, free: 9.184 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.393, allocations: 54.55 kB / 0.8588 GB, free: 9.121 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3931, allocations: 36.91 kB / 0.8588 GB, free: 9.082 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3931, allocations: 0 / 0.8588 GB, free: 9.082 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3932, allocations: 38.56 kB / 0.8589 GB, free: 9.035 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.3932, allocations: 0 / 0.8589 GB, free: 9.035 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.3938, allocations: 129.5 kB / 0.859 GB, free: 8.902 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3938, allocations: 51.41 kB / 0.859 GB, free: 8.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3939, allocations: 121.8 kB / 0.8592 GB, free: 8.711 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.394, allocations: 25.7 kB / 0.8592 GB, free: 8.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.394, allocations: 88.22 kB / 0.8593 GB, free: 8.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.394, allocations: 19.88 kB / 0.8593 GB, free: 8.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.3941, allocations: 13.72 kB / 0.8593 GB, free: 8.551 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3943, allocations: 318.8 kB / 0.8596 GB, free: 8.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3944, allocations: 31.95 kB / 0.8596 GB, free: 8.199 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3946, allocations: 35.97 kB / 0.8597 GB, free: 8.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3949, allocations: 73.05 kB / 0.8597 GB, free: 8.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3949, allocations: 0 / 0.8597 GB, free: 8.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003672/0.3952, allocations: 101.6 kB / 0.8598 GB, free: 7.984 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3953, allocations: 4 kB / 0.8598 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3953, allocations: 0 / 0.8598 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3953, allocations: 0 / 0.8598 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3954, allocations: 19.97 kB / 0.8599 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3954, allocations: 0 / 0.8599 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.3955, allocations: 15.94 kB / 0.8599 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3955, allocations: 4 kB / 0.8599 GB, free: 7.941 MB / 0.67 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.0001087/0.3957, allocations: 117.8 kB / 0.86 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3957, allocations: 0 / 0.86 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3957, allocations: 11.91 kB / 0.86 GB, free: 7.797 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3957, allocations: 3.938 kB / 0.86 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3957, allocations: 3.984 kB / 0.86 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3957, allocations: 0 / 0.86 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.396, allocations: 169.6 kB / 0.8602 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.396, allocations: 0 / 0.8602 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3961, allocations: 23.97 kB / 0.8602 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3961, allocations: 3.938 kB / 0.8602 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3961, allocations: 3.938 kB / 0.8602 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3961, allocations: 0 / 0.8602 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.3961, allocations: 8 kB / 0.8602 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.3965, allocations: 199.4 kB / 0.8604 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.3966, allocations: 85 kB / 0.8605 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3966, allocations: 7.984 kB / 0.8605 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3967, allocations: 7.984 kB / 0.8605 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.3968, allocations: 8 kB / 0.8605 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3968, allocations: 0 / 0.8605 GB, free: 7.199 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.3969, allocations: 91.27 kB / 0.8606 GB, free: 7.109 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.3969, allocations: 0 / 0.8606 GB, free: 7.109 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002974/0.3972, allocations: 8 kB / 0.8606 GB, free: 7.102 MB / 0.67 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.0007943/0.398, allocations: 0.7319 MB / 0.8613 GB, free: 6.344 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.3983, allocations: 71.92 kB / 0.8614 GB, free: 6.273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3983, allocations: 0 / 0.8614 GB, free: 6.273 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.3985, allocations: 43.89 kB / 0.8614 GB, free: 6.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3988, allocations: 4 kB / 0.8614 GB, free: 6.227 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.401, allocations: 1.411 MB / 0.8628 GB, free: 4.734 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4013, allocations: 0.6961 MB / 0.8635 GB, free: 4.012 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.4014, allocations: 4.312 kB / 0.8635 GB, free: 4.008 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.4014, allocations: 18.72 kB / 0.8635 GB, free: 3.992 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.4014, allocations: 0 / 0.8635 GB, free: 3.992 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4223, allocations: 2.028 MB / 0.8655 GB, free: 2.094 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.798, allocations: 6.062 kB / 0.8655 GB, free: 2.09 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.203999435005244] Failed to read output from testmodel.py, exit status != 0: 8.928935265983455 9.270487299 8.876658746 Calling exit ...