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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 109.9 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002663/0.002663, allocations: 286.8 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.186/1.186, allocations: 180.9 MB / 0.5261 GB, free: 14.71 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004521/0.004521, allocations: 105.1 kB / 0.7248 GB, free: 39.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2111, allocations: 94.16 MB / 0.8167 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.004386/0.2154, allocations: 1.498 MB / 0.8182 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.387, allocations: 132.5 MB / 0.9475 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3871, allocations: 0 / 0.9475 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.3871, allocations: 7.938 kB / 0.9475 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.3872, allocations: 15.84 kB / 0.9476 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3876, allocations: 63.72 kB / 0.9476 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3878, allocations: 51.84 kB / 0.9477 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.388, allocations: 8.281 kB / 0.9477 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.388, allocations: 19.92 kB / 0.9477 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.3881, allocations: 35.78 kB / 0.9477 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3881, allocations: 7.984 kB / 0.9477 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3882, allocations: 16 kB / 0.9477 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3882, allocations: 11.98 kB / 0.9478 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3883, allocations: 23.88 kB / 0.9478 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3885, allocations: 55.69 kB / 0.9478 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3885, allocations: 0 / 0.9478 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3885, allocations: 0 / 0.9478 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3885, allocations: 0 / 0.9478 GB, free: 14.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006258/0.3891, allocations: 375.2 kB / 0.9482 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.3892, allocations: 12.03 kB / 0.9482 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.3892, allocations: 38.75 kB / 0.9482 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3893, allocations: 8.891 kB / 0.9482 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3896, allocations: 180.2 kB / 0.9484 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3896, allocations: 4.375 kB / 0.9484 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3896, allocations: 384 / 0.9484 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.39, allocations: 74.2 kB / 0.9485 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.39, allocations: 3.938 kB / 0.9485 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.39, allocations: 4 kB / 0.9485 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.39, allocations: 7.938 kB / 0.9485 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.3903, allocations: 67.92 kB / 0.9486 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3908, allocations: 284.7 kB / 0.9488 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.391, allocations: 58.53 kB / 0.9489 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3912, allocations: 36.92 kB / 0.9489 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3914, allocations: 89.09 kB / 0.949 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3914, allocations: 30.56 kB / 0.949 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3914, allocations: 0 / 0.949 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.392, allocations: 137.5 kB / 0.9492 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.392, allocations: 51.41 kB / 0.9492 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3922, allocations: 113.8 kB / 0.9493 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3922, allocations: 25.7 kB / 0.9494 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3923, allocations: 100.1 kB / 0.9495 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3923, allocations: 11.89 kB / 0.9495 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3924, allocations: 13.72 kB / 0.9495 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3926, allocations: 322.8 kB / 0.9498 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3927, allocations: 31.97 kB / 0.9498 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3929, allocations: 27.97 kB / 0.9498 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.3931, allocations: 76.72 kB / 0.9499 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3931, allocations: 0 / 0.9499 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004437/0.3936, allocations: 101.5 kB / 0.95 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3936, allocations: 7.984 kB / 0.95 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3936, allocations: 8 kB / 0.95 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3936, allocations: 0 / 0.95 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3937, allocations: 11.98 kB / 0.95 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3937, allocations: 0 / 0.95 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.3938, allocations: 11.98 kB / 0.9501 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3938, allocations: 4 kB / 0.9501 GB, free: 12.08 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.51e-05/0.3939, allocations: 113.8 kB / 0.9502 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3939, allocations: 8.328 kB / 0.9502 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.3943, allocations: 121.4 kB / 0.9503 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3943, allocations: 0 / 0.9503 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3943, allocations: 0 / 0.9503 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3943, allocations: 0 / 0.9503 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3945, allocations: 177.6 kB / 0.9505 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3945, allocations: 0 / 0.9505 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.3946, allocations: 23.97 kB / 0.9505 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3946, allocations: 0 / 0.9505 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3946, allocations: 0 / 0.9505 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3946, allocations: 0 / 0.9505 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3946, allocations: 0 / 0.9505 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3951, allocations: 203.4 kB / 0.9507 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.3951, allocations: 88.98 kB / 0.9508 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3951, allocations: 0 / 0.9508 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3952, allocations: 11.98 kB / 0.9508 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.3953, allocations: 4 kB / 0.9508 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.3953, allocations: 3.984 kB / 0.9508 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.3954, allocations: 91.72 kB / 0.9509 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3954, allocations: 0 / 0.9509 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002416/0.3956, allocations: 15.94 kB / 0.9509 GB, free: 11.13 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.0008333/0.3965, allocations: 0.7436 MB / 0.9516 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3968, allocations: 71.86 kB / 0.9517 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3968, allocations: 0 / 0.9517 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3969, allocations: 35.95 kB / 0.9517 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3973, allocations: 14.73 kB / 0.9517 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.3997, allocations: 1.429 MB / 0.9531 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.4001, allocations: 0.6885 MB / 0.9538 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.4001, allocations: 4 kB / 0.9538 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.4002, allocations: 15.44 kB / 0.9538 GB, free: 8 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.4002, allocations: 0 / 0.9538 GB, free: 8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.4285, allocations: 2.097 MB / 0.9559 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.402, allocations: 7.297 kB / 0.9559 GB, free: 6.023 MB / 0.7012 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 12.505797239020467] Failed to read output from testmodel.py, exit status != 0: 8.47241583187133 8.499965782 8.106173056 Calling exit ...