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.0007502/0.0007502, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007828/0.0007828, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001343/0.001343, allocations: 242 kB / 259.4 MB, free: 13.01 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.6801/0.6801, allocations: 138.4 MB / 454.3 MB, free: 29.95 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.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 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.014e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001982/0.002002, allocations: 1.506 MB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3298/0.3318, allocations: 115.8 MB / 0.7609 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.3319, allocations: 0 / 0.7609 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.3319, allocations: 7.922 kB / 0.7609 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.332, allocations: 11.81 kB / 0.7609 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.3324, allocations: 67.72 kB / 0.7609 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.3325, allocations: 51.78 kB / 0.761 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.3325, allocations: 11.23 kB / 0.761 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.3326, allocations: 35.91 kB / 0.761 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.3326, allocations: 15.98 kB / 0.761 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3327, allocations: 4 kB / 0.761 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.3328, allocations: 31.91 kB / 0.7611 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.3328, allocations: 11.92 kB / 0.7611 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.3328, allocations: 12 kB / 0.7611 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3329, allocations: 63.5 kB / 0.7612 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3329, allocations: 0 / 0.7612 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3329, allocations: 4 kB / 0.7612 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3329, allocations: 0 / 0.7612 GB, free: 5.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003777/0.3333, allocations: 301.6 kB / 0.7615 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3334, allocations: 9.938 kB / 0.7615 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.3334, allocations: 36.11 kB / 0.7615 GB, free: 5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.3334, allocations: 4.938 kB / 0.7615 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.3335, allocations: 117.6 kB / 0.7616 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3335, allocations: 4.375 kB / 0.7616 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.3335, allocations: 5.031 kB / 0.7616 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3337, allocations: 74.2 kB / 0.7617 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3337, allocations: 4.188 kB / 0.7617 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3337, allocations: 384 / 0.7617 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3337, allocations: 12.05 kB / 0.7617 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3338, allocations: 67.92 kB / 0.7618 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.3342, allocations: 239.9 kB / 0.762 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3343, allocations: 63.14 kB / 0.7621 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/0.3344, allocations: 36.91 kB / 0.7621 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3345, allocations: 15.98 kB / 0.7621 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3345, allocations: 34.56 kB / 0.7621 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3345, allocations: 0 / 0.7621 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002999/0.3348, allocations: 137.5 kB / 0.7623 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3348, allocations: 51.41 kB / 0.7623 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.3349, allocations: 123.4 kB / 0.7624 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3349, allocations: 25.7 kB / 0.7625 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3349, allocations: 92.22 kB / 0.7626 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.335, allocations: 11.88 kB / 0.7626 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.335, allocations: 17.7 kB / 0.7626 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.3351, allocations: 318.8 kB / 0.7629 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.3351, allocations: 34.22 kB / 0.7629 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.3352, allocations: 35.95 kB / 0.763 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3353, allocations: 64.78 kB / 0.763 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3353, allocations: 3.938 kB / 0.763 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001651/0.3355, allocations: 109.5 kB / 0.7631 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3355, allocations: 4 kB / 0.7631 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3355, allocations: 0 / 0.7631 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3355, allocations: 0 / 0.7631 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.3356, allocations: 15.98 kB / 0.7631 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3356, allocations: 0 / 0.7631 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.3356, allocations: 19.97 kB / 0.7632 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3356, allocations: 0 / 0.7632 GB, free: 3.145 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 5.569e-05/0.3357, allocations: 114.5 kB / 0.7633 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3357, allocations: 7.891 kB / 0.7633 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.3359, allocations: 109.5 kB / 0.7634 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3359, allocations: 0 / 0.7634 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3359, allocations: 4 kB / 0.7634 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3359, allocations: 3.938 kB / 0.7634 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.336, allocations: 144.7 kB / 0.7635 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.336, allocations: 0 / 0.7635 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.3361, allocations: 17.11 kB / 0.7635 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3361, allocations: 0 / 0.7635 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3361, allocations: 0 / 0.7635 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3361, allocations: 0 / 0.7635 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3361, allocations: 0 / 0.7635 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3363, allocations: 211.7 kB / 0.7638 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.3363, allocations: 0 / 0.7638 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.3363, allocations: 0 / 0.7638 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.3363, allocations: 19.11 kB / 0.7638 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3364, allocations: 7.984 kB / 0.7638 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3364, allocations: 0 / 0.7638 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.3364, allocations: 92.14 kB / 0.7639 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.3364, allocations: 0 / 0.7639 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001523/0.3366, allocations: 19.94 kB / 0.7639 GB, free: 2.336 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.0004073/0.337, allocations: 0.7358 MB / 0.7646 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3372, allocations: 70.48 kB / 0.7647 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3372, allocations: 4 kB / 0.7647 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.3372, allocations: 35.95 kB / 0.7647 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3375, allocations: 12 kB / 0.7647 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3386, allocations: 1.417 MB / 0.7661 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.3386, allocations: 63.95 kB / 0.7662 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3387, allocations: 9.094 kB / 0.7662 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.3387, allocations: 20.48 kB / 0.7662 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/0.3387, allocations: 0 / 0.7662 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.3523, allocations: 2.842 MB / 0.769 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.339/6.691, allocations: 8.016 kB / 0.769 GB, free: 13.22 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.371259573847055] Failed to read output from testmodel.py, exit status != 0: 6.77083739079535 6.779936499 6.445027269 Calling exit ...