Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0007509/0.0007509, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007757/0.0007757, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8741/0.8741, 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.001451/0.001451, allocations: 242.3 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.6561/0.6561, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.313e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2697/0.2697, allocations: 70.38 MB / 0.715 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.2865, allocations: 17.58 MB / 0.7322 GB, free: 13.89 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.2892, allocations: 153.1 kB / 0.7323 GB, free: 13.8 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.2913, allocations: 1.259 MB / 0.7336 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.2975, allocations: 3.974 MB / 0.7375 GB, free: 9.59 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.3008, allocations: 2.231 MB / 0.7396 GB, free: 7.855 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006137/0.3069, allocations: 6.839 MB / 0.7463 GB, free: 3.719 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.3086, allocations: 1.582 MB / 0.7479 GB, free: 2.547 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004294/0.3129, allocations: 3.223 MB / 0.751 GB, free: 48 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.3147, allocations: 1.6 MB / 0.7526 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.315, allocations: 200 kB / 0.7528 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.3171, allocations: 1.371 MB / 0.7541 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.3175, allocations: 0.5796 MB / 0.7547 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.3181, allocations: 0.8456 MB / 0.7555 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.3215, allocations: 3.786 MB / 0.7592 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3215, allocations: 4 kB / 0.7592 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3215, allocations: 0 / 0.7592 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.343e-05/0.3216, allocations: 4 kB / 0.7592 GB, free: 7.641 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002937/0.3245, allocations: 2.684 MB / 0.7618 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3245, allocations: 13.94 kB / 0.7618 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.3247, allocations: 202.8 kB / 0.762 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.3252, allocations: 275.3 kB / 0.7623 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.3272, allocations: 1.951 MB / 0.7642 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.3273, allocations: 110.6 kB / 0.7643 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.3274, allocations: 148 kB / 0.7644 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.329, allocations: 1.823 MB / 0.7662 GB, free: 204 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.329, allocations: 3.953 kB / 0.7662 GB, free: 200 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.3291, allocations: 63.98 kB / 0.7663 GB, free: 136 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.3292, allocations: 39.94 kB / 0.7663 GB, free: 96 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3305, allocations: 1.119 MB / 0.7674 GB, free: 14.97 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.3352, allocations: 5.32 MB / 0.7726 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.3359, allocations: 459.5 kB / 0.7731 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.3362, allocations: 310.9 kB / 0.7733 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.3365, allocations: 100.4 kB / 0.7734 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3365, allocations: 47.05 kB / 0.7735 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 1.934e-06/0.3365, allocations: 0 / 0.7735 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.001266/0.3378, allocations: 0.9643 MB / 0.7744 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3378, allocations: 67.89 kB / 0.7745 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3392, allocations: 1.814 MB / 0.7763 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3393, allocations: 41.7 kB / 0.7763 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.3398, allocations: 0.9412 MB / 0.7772 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.3399, allocations: 226.1 kB / 0.7774 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3401, allocations: 222.8 kB / 0.7777 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.3402, allocations: 345.9 kB / 0.778 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.3406, allocations: 334.4 kB / 0.7783 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/0.3412, allocations: 0.9711 MB / 0.7793 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.3421, allocations: 1.005 MB / 0.7802 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3421, allocations: 7.938 kB / 0.7802 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001258/0.3434, allocations: 1.235 MB / 0.7814 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3434, allocations: 8 kB / 0.7815 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3434, allocations: 15.38 kB / 0.7815 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3434, allocations: 16 kB / 0.7815 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.3439, allocations: 291.5 kB / 0.7818 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.344, allocations: 24.12 kB / 0.7818 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.3445, allocations: 166.9 kB / 0.7819 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.3446, allocations: 51.98 kB / 0.782 GB, free: 15.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0004065/0.345, allocations: 442.5 kB / 0.7824 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.3452, allocations: 202.7 kB / 0.7826 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.3462, allocations: 0.8704 MB / 0.7835 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3462, allocations: 8 kB / 0.7835 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3462, allocations: 3.938 kB / 0.7835 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007413/0.3469, allocations: 0.8095 MB / 0.7843 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3491, allocations: 2.236 MB / 0.7864 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3491, allocations: 4.25 kB / 0.7864 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.3495, allocations: 179.8 kB / 0.7866 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3495, allocations: 4 kB / 0.7866 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3495, allocations: 23.88 kB / 0.7866 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3495, allocations: 4 kB / 0.7866 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3495, allocations: 8 kB / 0.7867 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3508, allocations: 1.351 MB / 0.788 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.3512, allocations: 294.4 kB / 0.7883 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3513, allocations: 19.94 kB / 0.7883 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.3517, allocations: 65.55 kB / 0.7883 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.3518, allocations: 48.42 kB / 0.7884 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.3519, allocations: 43.97 kB / 0.7884 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001012/0.3529, allocations: 1.247 MB / 0.7896 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.3529, allocations: 0 / 0.7896 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00106/0.3539, allocations: 0.6587 MB / 0.7903 GB, free: 6.723 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002377/0.3563, allocations: 2.414 MB / 0.7926 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.3574, allocations: 0.7852 MB / 0.7934 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3574, allocations: 4 kB / 0.7934 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.3578, allocations: 339.2 kB / 0.7937 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.3603, allocations: 1.191 MB / 0.7949 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.373, allocations: 12.59 MB / 0.8072 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3735, allocations: 0.8317 MB / 0.808 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008273/0.3743, allocations: 377.7 kB / 0.8084 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.3749, allocations: 0.7736 MB / 0.8091 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.3749, allocations: 0 / 0.8091 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.4371, allocations: 63.09 MB / 0.8707 GB, free: 4.965 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.633, allocations: 7.875 kB / 0.8707 GB, free: 4.957 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.256502003408968] Failed to read output from testmodel.py, exit status != 0: 8.739081211388111 8.748144595 8.424683918 Calling exit ...