Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.0007322/0.0007322, 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.0007831/0.0007831, allocations: 170.3 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.8485/0.8485, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001367/0.001367, allocations: 238.2 kB / 259.4 MB, free: 13.03 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.6507/0.6507, allocations: 138.4 MB / 454.3 MB, free: 30.07 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.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.63e-05, allocations: 8.891 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00191/0.001936, allocations: 1.635 MB / 0.6479 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3134/0.3154, allocations: 133.2 MB / 0.778 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.3154, allocations: 7.938 kB / 0.778 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3156, allocations: 15.81 kB / 0.778 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.3158, allocations: 47.7 kB / 0.778 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.3161, allocations: 151.2 kB / 0.7782 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3162, allocations: 119.6 kB / 0.7783 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3163, allocations: 29.45 kB / 0.7783 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.317, allocations: 189.8 kB / 0.7785 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.3171, allocations: 32.55 kB / 0.7785 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3171, allocations: 12 kB / 0.7785 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.3173, allocations: 179.6 kB / 0.7787 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.3174, allocations: 23.86 kB / 0.7787 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.3174, allocations: 35.91 kB / 0.7788 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3177, allocations: 199.4 kB / 0.7789 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3177, allocations: 4.656 kB / 0.779 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3177, allocations: 0 / 0.779 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3177, allocations: 0 / 0.779 GB, free: 3.281 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004583/0.3181, allocations: 374.5 kB / 0.7793 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3182, allocations: 17.88 kB / 0.7793 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3182, allocations: 38.75 kB / 0.7794 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.3187, allocations: 91.73 kB / 0.7795 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3189, allocations: 144.9 kB / 0.7796 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3189, allocations: 7.984 kB / 0.7796 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3189, allocations: 8 kB / 0.7796 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3191, allocations: 133.6 kB / 0.7797 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3192, allocations: 0 / 0.7797 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3192, allocations: 0 / 0.7797 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3192, allocations: 4 kB / 0.7797 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3194, allocations: 143.7 kB / 0.7799 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3199, allocations: 366.5 kB / 0.7802 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.3203, allocations: 174.5 kB / 0.7804 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3204, allocations: 71.92 kB / 0.7805 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3204, allocations: 0 / 0.7805 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3205, allocations: 34.56 kB / 0.7805 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.3205, allocations: 0 / 0.7805 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004515/0.3209, allocations: 222 kB / 0.7807 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3209, allocations: 55.41 kB / 0.7808 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.321, allocations: 151.4 kB / 0.7809 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3211, allocations: 29.7 kB / 0.7809 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3211, allocations: 100.3 kB / 0.781 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3211, allocations: 27.73 kB / 0.7811 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3212, allocations: 25.7 kB / 0.7811 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.3213, allocations: 326.8 kB / 0.7814 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3214, allocations: 51.95 kB / 0.7814 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3215, allocations: 133.9 kB / 0.7816 GB, free: 428 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3217, allocations: 120.3 kB / 0.7817 GB, free: 308 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3217, allocations: 4 kB / 0.7817 GB, free: 304 kB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002519/0.322, allocations: 161.5 kB / 0.7818 GB, free: 136 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.322, allocations: 8 kB / 0.7818 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.322, allocations: 0 / 0.7818 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.322, allocations: 0 / 0.7818 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3221, allocations: 31.95 kB / 0.7819 GB, free: 96 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3221, allocations: 0 / 0.7819 GB, free: 96 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.3222, allocations: 23.88 kB / 0.7819 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3222, allocations: 4 kB / 0.7819 GB, free: 68 kB / 0.6042 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 (8): * Single equations (assignments): 8 * 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 7.498e-05/0.3223, allocations: 126.4 kB / 0.782 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.3223, allocations: 7.953 kB / 0.782 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.3223, allocations: 12.78 kB / 0.782 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3223, allocations: 3.938 kB / 0.782 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3223, allocations: 6.562 kB / 0.7821 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3223, allocations: 4 kB / 0.7821 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.3228, allocations: 425.4 kB / 0.7825 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3228, allocations: 0 / 0.7825 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.3229, allocations: 27.97 kB / 0.7825 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3229, allocations: 0 / 0.7825 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3229, allocations: 4 kB / 0.7825 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3229, allocations: 0 / 0.7825 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3229, allocations: 5.312 kB / 0.7825 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3232, allocations: 263.3 kB / 0.7827 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.3232, allocations: 11.91 kB / 0.7828 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3232, allocations: 0 / 0.7828 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3233, allocations: 23.97 kB / 0.7828 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3233, allocations: 3.984 kB / 0.7828 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3233, allocations: 7.938 kB / 0.7828 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.3233, allocations: 116.1 kB / 0.7829 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3233, allocations: 0 / 0.7829 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001627/0.3235, allocations: 23.94 kB / 0.7829 GB, free: 14.94 MB / 0.6198 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 (8): * Single equations (assignments): 8 * 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.0004928/0.324, allocations: 0.8021 MB / 0.7837 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3243, allocations: 126.8 kB / 0.7838 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.3243, allocations: 0 / 0.7838 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3244, allocations: 67.88 kB / 0.7839 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3246, allocations: 41.31 kB / 0.7839 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.326, allocations: 1.721 MB / 0.7856 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.3261, allocations: 89.03 kB / 0.7857 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.846e-05/0.3261, allocations: 26.25 kB / 0.7857 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.3262, allocations: 40.52 kB / 0.7858 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.3262, allocations: 7.938 kB / 0.7858 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.3413, allocations: 4.216 MB / 0.7899 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/6.901, allocations: 17.55 kB / 0.7899 GB, free: 7.934 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.459692117758095] Failed to read output from testmodel.py, exit status != 0: 6.977582186460495 6.985965288 6.666354639 Calling exit ...