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.0007768/0.0007768, 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.0008647/0.0008647, 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.8684/0.8684, 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.001371/0.001371, allocations: 246.4 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.647/0.647, allocations: 138.4 MB / 454.3 MB, free: 30 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 2.735e-06/2.735e-06, allocations: 4 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.447e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.257/0.257, allocations: 70.39 MB / 0.715 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.2721, allocations: 17.57 MB / 0.7322 GB, free: 13.93 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.2736, allocations: 157.2 kB / 0.7324 GB, free: 13.84 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2754, allocations: 1.255 MB / 0.7336 GB, free: 12.79 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.28, allocations: 3.978 MB / 0.7375 GB, free: 9.625 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2827, allocations: 2.232 MB / 0.7396 GB, free: 7.891 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004785/0.2875, allocations: 6.831 MB / 0.7463 GB, free: 3.762 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.2888, allocations: 1.583 MB / 0.7479 GB, free: 2.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.2918, allocations: 3.233 MB / 0.751 GB, free: 32 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.293, allocations: 1.594 MB / 0.7526 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.2932, allocations: 196 kB / 0.7528 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.2949, allocations: 1.367 MB / 0.7541 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.2952, allocations: 0.5912 MB / 0.7547 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.2958, allocations: 0.8457 MB / 0.7555 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.2982, allocations: 3.786 MB / 0.7592 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2982, allocations: 0 / 0.7592 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2982, allocations: 0 / 0.7592 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.2982, allocations: 0 / 0.7592 GB, free: 7.633 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.002393/0.3006, allocations: 2.684 MB / 0.7618 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3006, allocations: 9.938 kB / 0.7618 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.3008, allocations: 202.8 kB / 0.762 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.3012, allocations: 283.3 kB / 0.7623 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.3034, allocations: 1.955 MB / 0.7642 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.3035, allocations: 106.7 kB / 0.7643 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3036, allocations: 140 kB / 0.7644 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.3052, allocations: 1.832 MB / 0.7662 GB, free: 192 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.3053, allocations: 11.95 kB / 0.7662 GB, free: 180 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.3053, allocations: 56 kB / 0.7663 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.3054, allocations: 36 kB / 0.7663 GB, free: 88 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3068, allocations: 1.122 MB / 0.7674 GB, free: 14.96 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.004406/0.3112, allocations: 5.324 MB / 0.7726 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.3118, allocations: 452.1 kB / 0.773 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.3121, allocations: 310.9 kB / 0.7733 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.3123, allocations: 100.4 kB / 0.7734 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3123, allocations: 51.09 kB / 0.7735 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 1.562e-06/0.3123, allocations: 0 / 0.7735 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.001205/0.3135, allocations: 0.9643 MB / 0.7744 GB, free: 7.602 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3136, allocations: 59.91 kB / 0.7745 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.3151, allocations: 1.814 MB / 0.7763 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3152, allocations: 41.7 kB / 0.7763 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.3157, allocations: 0.9451 MB / 0.7772 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3158, allocations: 226.1 kB / 0.7774 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.316, allocations: 226.8 kB / 0.7777 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.316, allocations: 341.9 kB / 0.778 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.3165, allocations: 330.4 kB / 0.7783 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.3171, allocations: 0.9779 MB / 0.7792 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.3181, allocations: 1.005 MB / 0.7802 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3181, allocations: 3.938 kB / 0.7802 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001394/0.3195, allocations: 1.231 MB / 0.7814 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3195, allocations: 8 kB / 0.7814 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3195, allocations: 23.47 kB / 0.7815 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3195, allocations: 16 kB / 0.7815 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.32, allocations: 283.6 kB / 0.7818 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.32, allocations: 23.92 kB / 0.7818 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.3205, allocations: 182.8 kB / 0.7819 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.3206, allocations: 48 kB / 0.782 GB, free: 15.41 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.0004143/0.321, allocations: 442.5 kB / 0.7824 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3211, allocations: 202.7 kB / 0.7826 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3222, allocations: 0.8705 MB / 0.7835 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3222, allocations: 15.98 kB / 0.7835 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3222, allocations: 0 / 0.7835 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007533/0.3229, allocations: 0.7979 MB / 0.7843 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.3251, allocations: 2.236 MB / 0.7864 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3252, allocations: 4 kB / 0.7864 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.3255, allocations: 180 kB / 0.7866 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3255, allocations: 8 kB / 0.7866 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.3255, allocations: 19.92 kB / 0.7866 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.3256, allocations: 7.938 kB / 0.7866 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3256, allocations: 4 kB / 0.7867 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3269, allocations: 1.351 MB / 0.788 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.3274, allocations: 298.4 kB / 0.7883 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3275, allocations: 19.94 kB / 0.7883 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.328, allocations: 73.55 kB / 0.7883 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.328, allocations: 40.42 kB / 0.7884 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.3281, allocations: 39.97 kB / 0.7884 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001076/0.3292, allocations: 1.243 MB / 0.7896 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.3292, allocations: 0 / 0.7896 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008484/0.33, allocations: 0.6665 MB / 0.7903 GB, free: 6.715 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.002195/0.3322, allocations: 2.414 MB / 0.7926 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009525/0.3332, allocations: 0.7806 MB / 0.7934 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3332, allocations: 0 / 0.7934 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.3336, allocations: 344 kB / 0.7937 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.336, allocations: 1.202 MB / 0.7949 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.3485, allocations: 12.58 MB / 0.8072 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.3491, allocations: 0.8357 MB / 0.808 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008605/0.3499, allocations: 376.5 kB / 0.8084 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/0.3506, allocations: 0.7659 MB / 0.8091 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.3506, allocations: 0 / 0.8091 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.4091, allocations: 63.11 MB / 0.8707 GB, free: 4.953 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.583, allocations: 7.875 kB / 0.8707 GB, free: 4.945 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.198894139379263] Failed to read output from testmodel.py, exit status != 0: 8.689507881179452 8.700345534 8.399911818 Calling exit ...