Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001333/0.001333, allocations: 110.4 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001421/0.001421, allocations: 215.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 288.8 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.187/1.187, allocations: 180.9 MB / 0.5333 GB, free: 13.74 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 104.5 kB / 0.7343 GB, free: 28.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1802, allocations: 95.34 MB / 0.8274 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04386/0.2241, allocations: 42.07 MB / 0.8684 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.2395, allocations: 10.42 MB / 0.8786 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.2416, allocations: 79.31 kB / 0.8787 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.2436, allocations: 0.6833 MB / 0.8794 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.2489, allocations: 1.968 MB / 0.8813 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.252, allocations: 1.194 MB / 0.8824 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005008/0.257, allocations: 3.403 MB / 0.8858 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.2583, allocations: 0.8685 MB / 0.8866 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.2613, allocations: 1.277 MB / 0.8879 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.2629, allocations: 0.9334 MB / 0.8888 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.2631, allocations: 100 kB / 0.8889 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.2654, allocations: 0.9201 MB / 0.8898 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.2658, allocations: 298.8 kB / 0.89 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007734/0.2665, allocations: 0.6259 MB / 0.8907 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.2695, allocations: 1.982 MB / 0.8926 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2695, allocations: 0 / 0.8926 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2695, allocations: 0 / 0.8926 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.2695, allocations: 7.938 kB / 0.8926 GB, free: 6.816 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002521/0.272, allocations: 1.544 MB / 0.8941 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2721, allocations: 12.03 kB / 0.8941 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.2722, allocations: 114.7 kB / 0.8942 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.2726, allocations: 144.1 kB / 0.8944 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.2743, allocations: 1.112 MB / 0.8955 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.2744, allocations: 61.98 kB / 0.8955 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2745, allocations: 79.89 kB / 0.8956 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2758, allocations: 0.7866 MB / 0.8964 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2759, allocations: 0 / 0.8964 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.2759, allocations: 28 kB / 0.8964 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.276, allocations: 27.98 kB / 0.8964 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2771, allocations: 0.5672 MB / 0.897 GB, free: 2.211 MB / 0.6387 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.004148/0.2812, allocations: 3.553 MB / 0.9004 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.2818, allocations: 245.5 kB / 0.9007 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2822, allocations: 166.2 kB / 0.9008 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.2827, allocations: 0.657 MB / 0.9015 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2827, allocations: 42.55 kB / 0.9015 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.333e-06/0.2827, allocations: 0 / 0.9015 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.00118/0.2839, allocations: 0.5251 MB / 0.902 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.284, allocations: 55.41 kB / 0.9021 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2851, allocations: 0.9456 MB / 0.903 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.2852, allocations: 37.7 kB / 0.903 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.2856, allocations: 0.5004 MB / 0.9035 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2857, allocations: 111.1 kB / 0.9036 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.2859, allocations: 122.1 kB / 0.9037 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.286, allocations: 329.9 kB / 0.9041 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.2864, allocations: 161 kB / 0.9042 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.2869, allocations: 350.9 kB / 0.9046 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.2878, allocations: 0.5194 MB / 0.9051 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2878, allocations: 0 / 0.9051 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001155/0.2889, allocations: 0.6136 MB / 0.9057 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.289, allocations: 8 kB / 0.9057 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.289, allocations: 4.688 kB / 0.9057 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.289, allocations: 11.94 kB / 0.9057 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.2894, allocations: 123.8 kB / 0.9058 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.2894, allocations: 11.98 kB / 0.9058 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.29, allocations: 83.42 kB / 0.9059 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.2901, allocations: 31.94 kB / 0.9059 GB, free: 8.434 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003723/0.2904, allocations: 282.2 kB / 0.9062 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.2906, allocations: 103.3 kB / 0.9063 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2916, allocations: 491.3 kB / 0.9068 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2916, allocations: 4 kB / 0.9068 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2916, allocations: 0 / 0.9068 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007641/0.2924, allocations: 449.5 kB / 0.9072 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.2945, allocations: 1.366 MB / 0.9085 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2945, allocations: 3.938 kB / 0.9085 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.2948, allocations: 79.83 kB / 0.9086 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.2948, allocations: 7.984 kB / 0.9086 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2948, allocations: 8 kB / 0.9086 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.2948, allocations: 4 kB / 0.9086 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2948, allocations: 0 / 0.9086 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.2962, allocations: 0.7639 MB / 0.9094 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.2965, allocations: 236.3 kB / 0.9096 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2966, allocations: 11.98 kB / 0.9096 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.2971, allocations: 27.95 kB / 0.9096 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.2971, allocations: 23.97 kB / 0.9097 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2972, allocations: 28.05 kB / 0.9097 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008634/0.298, allocations: 0.6628 MB / 0.9103 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.298, allocations: 3.938 kB / 0.9103 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009439/0.299, allocations: 347.2 kB / 0.9107 GB, free: 3.398 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002153/0.3011, allocations: 1.585 MB / 0.9122 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008952/0.302, allocations: 406.3 kB / 0.9126 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.302, allocations: 0 / 0.9126 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.3024, allocations: 180.1 kB / 0.9128 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.3049, allocations: 0.5988 MB / 0.9134 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.3152, allocations: 6.858 MB / 0.9201 GB, free: 9.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.3162, allocations: 1.04 MB / 0.9211 GB, free: 8.387 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001096/0.3173, allocations: 198.7 kB / 0.9213 GB, free: 8.195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/0.318, allocations: 371.3 kB / 0.9216 GB, free: 7.832 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.318, allocations: 0 / 0.9216 GB, free: 7.832 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09004/0.408, allocations: 29.84 MB / 0.9508 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.46, allocations: 0 / 0.9508 GB, free: 10.46 MB / 0.7012 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_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_FourPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.56764763314277] Failed to read output from testmodel.py, exit status != 0: 10.541154976934195 10.555017584 10.282773792 Calling exit ...