Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.001289/0.001289, allocations: 109.1 kB / 16.45 MB, free: 6.035 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.001295/0.001295, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.401/1.401, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.002615/0.002615, allocations: 275.6 kB / 303 MB, free: 9.504 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.255/1.255, allocations: 180.9 MB / 0.5261 GB, free: 14.55 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.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 103.2 kB / 0.7248 GB, free: 39.99 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1921, allocations: 94.16 MB / 0.8167 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002457/0.1945, allocations: 1.279 MB / 0.818 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.3554, allocations: 132.4 MB / 0.9473 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.3555, allocations: 0 / 0.9473 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.3555, allocations: 4 kB / 0.9473 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.3556, allocations: 3.938 kB / 0.9473 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.356, allocations: 59.66 kB / 0.9473 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.356, allocations: 27.86 kB / 0.9474 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3561, allocations: 7.828 kB / 0.9474 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.3561, allocations: 7.984 kB / 0.9474 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.3562, allocations: 11.98 kB / 0.9474 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3562, allocations: 4 kB / 0.9474 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.3563, allocations: 7.938 kB / 0.9474 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.3563, allocations: 11.94 kB / 0.9474 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.3563, allocations: 7.984 kB / 0.9474 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3564, allocations: 28.14 kB / 0.9475 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3564, allocations: 0 / 0.9475 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3564, allocations: 0 / 0.9475 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3564, allocations: 0 / 0.9475 GB, free: 15.06 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.0004705/0.3569, allocations: 339.4 kB / 0.9478 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3569, allocations: 8.031 kB / 0.9478 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.357, allocations: 34.75 kB / 0.9478 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.357, allocations: 0.9375 kB / 0.9478 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3572, allocations: 172.3 kB / 0.948 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.3572, allocations: 30.27 kB / 0.948 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3572, allocations: 384 / 0.948 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3574, allocations: 46 kB / 0.9481 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3574, allocations: 4 kB / 0.9481 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.3574, allocations: 0 / 0.9481 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3574, allocations: 0 / 0.9481 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.3575, allocations: 15.92 kB / 0.9481 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3576, allocations: 153.7 kB / 0.9482 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.3577, allocations: 26.58 kB / 0.9482 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.3578, allocations: 16.94 kB / 0.9483 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.358, allocations: 93.09 kB / 0.9484 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.358, allocations: 38.44 kB / 0.9484 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.358, allocations: 4 kB / 0.9484 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002285/0.3582, allocations: 57.75 kB / 0.9484 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3583, allocations: 55.39 kB / 0.9485 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.3584, allocations: 101.9 kB / 0.9486 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3584, allocations: 25.7 kB / 0.9486 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.3584, allocations: 80.14 kB / 0.9487 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3584, allocations: 11.89 kB / 0.9487 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.3585, allocations: 17.7 kB / 0.9487 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3586, allocations: 314.8 kB / 0.949 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3587, allocations: 4 kB / 0.949 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.3587, allocations: 11.98 kB / 0.949 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3589, allocations: 32.72 kB / 0.9491 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3589, allocations: 0 / 0.9491 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002084/0.3591, allocations: 53.64 kB / 0.9491 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3591, allocations: 7.938 kB / 0.9491 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3591, allocations: 0 / 0.9491 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3591, allocations: 0 / 0.9491 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.3592, allocations: 8 kB / 0.9491 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3592, allocations: 0 / 0.9491 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.3593, allocations: 11.98 kB / 0.9492 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3593, allocations: 0 / 0.9492 GB, free: 13.06 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.0001044/0.3594, allocations: 109.8 kB / 0.9493 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.3594, allocations: 3.938 kB / 0.9493 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.3596, allocations: 65.11 kB / 0.9493 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3596, allocations: 0 / 0.9493 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3596, allocations: 0 / 0.9493 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3596, allocations: 0 / 0.9493 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3597, allocations: 153.7 kB / 0.9495 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3597, allocations: 4 kB / 0.9495 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.3598, allocations: 8 kB / 0.9495 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3598, allocations: 3.938 kB / 0.9495 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.3598, allocations: 4 kB / 0.9495 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3598, allocations: 0 / 0.9495 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3598, allocations: 0 / 0.9495 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3599, allocations: 77.05 kB / 0.9496 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.36, allocations: 92.94 kB / 0.9496 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.36, allocations: 4 kB / 0.9497 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.3601, allocations: 7.984 kB / 0.9497 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3601, allocations: 480 / 0.9497 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3601, allocations: 0 / 0.9497 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.3602, allocations: 83.27 kB / 0.9497 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.3602, allocations: 0 / 0.9497 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001875/0.3603, allocations: 11.94 kB / 0.9498 GB, free: 12.34 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.00057/0.3609, allocations: 0.6241 MB / 0.9504 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3611, allocations: 23.92 kB / 0.9504 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3611, allocations: 0 / 0.9504 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.3612, allocations: 11.98 kB / 0.9504 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3614, allocations: 19.27 kB / 0.9504 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.3619, allocations: 157.3 kB / 0.9506 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3622, allocations: 0.6806 MB / 0.9512 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.3623, allocations: 4 kB / 0.9512 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.3623, allocations: 11.44 kB / 0.9512 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of SimCode: time 3.91e-07/0.3623, allocations: 0 / 0.9512 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.3881, allocations: 1.393 MB / 0.9526 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.232, allocations: 0.5 kB / 0.9526 GB, free: 9.473 MB / 0.7012 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.442694944795221] Failed to read output from testmodel.py, exit status != 0: 8.29989032400772 8.324138099 7.963250271 Calling exit ...