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.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.000796/0.000796, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0008443/0.0008443, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 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 0.8556/0.8556, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.002147/0.002147, allocations: 243.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6461/0.6461, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 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.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 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.521e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001786/0.001811, allocations: 1.298 MB / 0.6476 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3283/0.3301, allocations: 115.8 MB / 0.7606 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.3302, allocations: 0 / 0.7606 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.3302, allocations: 0 / 0.7606 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.3305, allocations: 11.86 kB / 0.7606 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3308, allocations: 47.75 kB / 0.7607 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.3309, allocations: 23.86 kB / 0.7607 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.331, allocations: 7.984 kB / 0.7607 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.331, allocations: 15.98 kB / 0.7607 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.3311, allocations: 7.984 kB / 0.7607 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3311, allocations: 0 / 0.7607 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3312, allocations: 19.88 kB / 0.7608 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.3312, allocations: 11.98 kB / 0.7608 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.3312, allocations: 4 kB / 0.7608 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.711e-05/0.3313, allocations: 25.59 kB / 0.7608 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3313, allocations: 4 kB / 0.7608 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3313, allocations: 0 / 0.7608 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3313, allocations: 0 / 0.7608 GB, free: 5.754 MB / 0.5886 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.000324/0.3316, allocations: 261.2 kB / 0.7611 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3317, allocations: 13.94 kB / 0.7611 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.3317, allocations: 34.73 kB / 0.7611 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.3317, allocations: 0.9375 kB / 0.7611 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.176e-05/0.3318, allocations: 105.8 kB / 0.7612 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.3319, allocations: 59.91 kB / 0.7613 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.3319, allocations: 384 / 0.7613 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.332, allocations: 38.25 kB / 0.7613 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.332, allocations: 4.844 kB / 0.7613 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.332, allocations: 384 / 0.7613 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.332, allocations: 7.938 kB / 0.7613 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.332, allocations: 19.92 kB / 0.7613 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.3322, allocations: 126.2 kB / 0.7614 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.3322, allocations: 22.58 kB / 0.7615 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.3323, allocations: 16.94 kB / 0.7615 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3324, allocations: 16.62 kB / 0.7615 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3324, allocations: 34.56 kB / 0.7615 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3324, allocations: 4 kB / 0.7615 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001591/0.3325, allocations: 61.55 kB / 0.7616 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3326, allocations: 55.41 kB / 0.7617 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.3326, allocations: 93.86 kB / 0.7617 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.3326, allocations: 29.7 kB / 0.7618 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.3327, allocations: 83.98 kB / 0.7618 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3327, allocations: 12.36 kB / 0.7619 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.3327, allocations: 21.7 kB / 0.7619 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3328, allocations: 310.8 kB / 0.7622 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.3328, allocations: 8 kB / 0.7622 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.3328, allocations: 11.98 kB / 0.7622 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.3329, allocations: 28.78 kB / 0.7622 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3329, allocations: 0 / 0.7622 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.787e-05/0.3329, allocations: 49.69 kB / 0.7623 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3329, allocations: 4 kB / 0.7623 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.333, allocations: 0 / 0.7623 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.333, allocations: 3.938 kB / 0.7623 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.333, allocations: 4 kB / 0.7623 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.333, allocations: 8 kB / 0.7623 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.333, allocations: 3.984 kB / 0.7623 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.333, allocations: 0 / 0.7623 GB, free: 4.035 MB / 0.5886 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 4.877e-05/0.3331, allocations: 110.5 kB / 0.7624 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-06/0.3331, allocations: 0 / 0.7624 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3332, allocations: 61.3 kB / 0.7625 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3332, allocations: 11.88 kB / 0.7625 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3332, allocations: 0 / 0.7625 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3332, allocations: 0 / 0.7625 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.293e-05/0.3333, allocations: 124.7 kB / 0.7626 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3333, allocations: 4 kB / 0.7626 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.87e-05/0.3333, allocations: 7.984 kB / 0.7626 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3333, allocations: 0 / 0.7626 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3333, allocations: 5.375 kB / 0.7626 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3333, allocations: 3.938 kB / 0.7626 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3333, allocations: 0 / 0.7626 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.599e-05/0.3334, allocations: 81.64 kB / 0.7627 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.3334, allocations: 0 / 0.7627 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.3334, allocations: 0 / 0.7627 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.3334, allocations: 11.94 kB / 0.7627 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3335, allocations: 12.02 kB / 0.7627 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3335, allocations: 0 / 0.7627 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.263e-05/0.3335, allocations: 79.28 kB / 0.7628 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.3335, allocations: 0 / 0.7628 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000125/0.3336, allocations: 8 kB / 0.7628 GB, free: 3.445 MB / 0.5886 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.0003028/0.3339, allocations: 0.6202 MB / 0.7634 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.334, allocations: 23.92 kB / 0.7634 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.334, allocations: 4 kB / 0.7634 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.334, allocations: 10.62 kB / 0.7634 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3342, allocations: 14.17 kB / 0.7634 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.3346, allocations: 148 kB / 0.7636 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.3346, allocations: 63.34 kB / 0.7637 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3346, allocations: 8 kB / 0.7637 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.3347, allocations: 8.5 kB / 0.7637 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of SimCode: time 4.9e-07/0.3347, allocations: 0 / 0.7637 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.3484, allocations: 2.046 MB / 0.7657 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.401/6.749, allocations: 11.05 kB / 0.7657 GB, free: 0.6406 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.24152924027294] Failed to read output from testmodel.py, exit status != 0: 6.82456680200994 6.834094725 6.500999315 Calling exit ...