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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00159/0.00159, allocations: 213.2 kB / 22.25 MB, free: 5.258 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.002489/0.002489, allocations: 288.2 kB / 312.7 MB, free: 2.699 MB / 238.1 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 1.145/1.145, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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 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.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.002825/0.002825, allocations: 105 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1594, allocations: 95.37 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0437/0.2031, allocations: 38.39 MB / 0.8701 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.2183, allocations: 9.662 MB / 0.8796 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.2201, allocations: 79.31 kB / 0.8796 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.2218, allocations: 0.6327 MB / 0.8803 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.2268, allocations: 2.008 MB / 0.8822 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.2297, allocations: 1.214 MB / 0.8834 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.2345, allocations: 3.458 MB / 0.8868 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.2359, allocations: 0.8106 MB / 0.8876 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.2389, allocations: 1.297 MB / 0.8888 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.2405, allocations: 0.8943 MB / 0.8897 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.2407, allocations: 100 kB / 0.8898 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.2425, allocations: 0.7172 MB / 0.8905 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.2428, allocations: 298.8 kB / 0.8908 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.2435, allocations: 0.5016 MB / 0.8913 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.2466, allocations: 1.946 MB / 0.8932 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2466, allocations: 11.94 kB / 0.8932 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2466, allocations: 0 / 0.8932 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.2467, allocations: 3.938 kB / 0.8932 GB, free: 10.15 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.002646/0.2493, allocations: 1.473 MB / 0.8946 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2494, allocations: 9.344 kB / 0.8947 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.2496, allocations: 114.7 kB / 0.8948 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.2499, allocations: 144.1 kB / 0.8949 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.2518, allocations: 1.044 MB / 0.8959 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.2519, allocations: 58 kB / 0.896 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.252, allocations: 79.98 kB / 0.896 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2534, allocations: 0.9411 MB / 0.897 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.2535, allocations: 3.953 kB / 0.897 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.2535, allocations: 32 kB / 0.897 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.2536, allocations: 19.94 kB / 0.897 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2547, allocations: 0.5633 MB / 0.8976 GB, free: 5.523 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.004156/0.2589, allocations: 2.736 MB / 0.9002 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.2594, allocations: 246.4 kB / 0.9005 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.2598, allocations: 169.2 kB / 0.9006 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.2601, allocations: 67.95 kB / 0.9007 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.2601, allocations: 38.55 kB / 0.9007 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.2601, allocations: 4 kB / 0.9007 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001317/0.2614, allocations: 0.514 MB / 0.9012 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2615, allocations: 55.41 kB / 0.9013 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2628, allocations: 0.9573 MB / 0.9022 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.2629, allocations: 37.7 kB / 0.9023 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.2634, allocations: 0.4965 MB / 0.9028 GB, free: 56 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.2635, allocations: 119 kB / 0.9029 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.2637, allocations: 122.2 kB / 0.903 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2639, allocations: 325.9 kB / 0.9033 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.2643, allocations: 165.2 kB / 0.9035 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/0.265, allocations: 0.502 MB / 0.9039 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.2658, allocations: 0.5109 MB / 0.9044 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2659, allocations: 0 / 0.9044 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001246/0.2671, allocations: 0.6252 MB / 0.9051 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2671, allocations: 8 kB / 0.9051 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2671, allocations: 4 kB / 0.9051 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2672, allocations: 8.656 kB / 0.9051 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2676, allocations: 127.8 kB / 0.9052 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2676, allocations: 8 kB / 0.9052 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.2683, allocations: 83.48 kB / 0.9053 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.2684, allocations: 31.92 kB / 0.9053 GB, free: 13.23 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.0004712/0.2688, allocations: 274.2 kB / 0.9056 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.269, allocations: 107.3 kB / 0.9057 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.2701, allocations: 491.8 kB / 0.9061 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.2701, allocations: 8 kB / 0.9062 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2701, allocations: 0 / 0.9062 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007541/0.2709, allocations: 457.8 kB / 0.9066 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2731, allocations: 1.249 MB / 0.9078 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2731, allocations: 0 / 0.9078 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2734, allocations: 79.81 kB / 0.9079 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.2734, allocations: 8.156 kB / 0.9079 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.2734, allocations: 8 kB / 0.9079 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2734, allocations: 4 kB / 0.9079 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2735, allocations: 0 / 0.9079 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2748, allocations: 0.7835 MB / 0.9087 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.2752, allocations: 159.2 kB / 0.9088 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2753, allocations: 12 kB / 0.9088 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.2758, allocations: 35.89 kB / 0.9089 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.2759, allocations: 27.89 kB / 0.9089 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.2759, allocations: 23.98 kB / 0.9089 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009453/0.2769, allocations: 0.6588 MB / 0.9096 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.2769, allocations: 0 / 0.9096 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009529/0.2778, allocations: 343.3 kB / 0.9099 GB, free: 8.395 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.002242/0.2801, allocations: 1.584 MB / 0.9114 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008879/0.281, allocations: 405.5 kB / 0.9118 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.281, allocations: 0 / 0.9118 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.2813, allocations: 185 kB / 0.912 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.2839, allocations: 0.6049 MB / 0.9126 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.2941, allocations: 6.841 MB / 0.9193 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.2946, allocations: 449.2 kB / 0.9197 GB, free: 13.99 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007707/0.2953, allocations: 202.1 kB / 0.9199 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/0.2958, allocations: 379.2 kB / 0.9203 GB, free: 13.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/0.2958, allocations: 0 / 0.9203 GB, free: 13.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07873/0.3746, allocations: 32.69 MB / 0.9522 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.35, allocations: 3.938 kB / 0.9522 GB, free: 13.39 MB / 0.7012 GB " [Timeout remaining time 648] (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: 16.420729847159237] Failed to read output from testmodel.py, exit status != 0: 12.474673229735345 12.491632718 12.241768463 Calling exit ...