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.001305/0.001305, 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.00147/0.00147, allocations: 211.8 kB / 22.24 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.346/1.346, 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.002461/0.002461, allocations: 296.5 kB / 312.7 MB, free: 2.582 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.153/1.153, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002935/0.002935, allocations: 99.3 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1866, allocations: 95.39 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0447/0.2313, allocations: 38.39 MB / 0.8701 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.2483, allocations: 9.654 MB / 0.8796 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.2505, allocations: 79.31 kB / 0.8796 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.2525, allocations: 0.6405 MB / 0.8803 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.2585, allocations: 2.003 MB / 0.8822 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.2624, allocations: 1.21 MB / 0.8834 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005705/0.2681, allocations: 3.452 MB / 0.8868 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.2697, allocations: 0.8184 MB / 0.8876 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.2732, allocations: 1.298 MB / 0.8888 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.275, allocations: 0.9021 MB / 0.8897 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.2752, allocations: 100 kB / 0.8898 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.2773, allocations: 0.7211 MB / 0.8905 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.2777, allocations: 290.8 kB / 0.8908 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.2785, allocations: 0.5016 MB / 0.8913 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.2821, allocations: 1.95 MB / 0.8932 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2821, allocations: 11.94 kB / 0.8932 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2821, allocations: 0 / 0.8932 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.107e-05/0.2822, allocations: 0 / 0.8932 GB, free: 10.08 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.003083/0.2852, allocations: 1.473 MB / 0.8946 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.2853, allocations: 13.94 kB / 0.8947 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.2855, allocations: 118.6 kB / 0.8948 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.2859, allocations: 148.1 kB / 0.8949 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.2881, allocations: 1.04 MB / 0.8959 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.2881, allocations: 57.98 kB / 0.896 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.2882, allocations: 72 kB / 0.896 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.2898, allocations: 0.945 MB / 0.897 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.2899, allocations: 3.953 kB / 0.897 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.2899, allocations: 28 kB / 0.897 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.29, allocations: 23.94 kB / 0.897 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.2911, allocations: 0.5711 MB / 0.8976 GB, free: 5.441 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.004507/0.2957, allocations: 2.732 MB / 0.9003 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.2963, allocations: 238.4 kB / 0.9005 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.2966, allocations: 167.6 kB / 0.9006 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.2969, allocations: 67.95 kB / 0.9007 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2969, allocations: 38.55 kB / 0.9007 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/0.2969, allocations: 0 / 0.9007 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001423/0.2984, allocations: 0.5218 MB / 0.9012 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2984, allocations: 59.41 kB / 0.9013 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2998, allocations: 0.9534 MB / 0.9022 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.2999, allocations: 33.64 kB / 0.9023 GB, free: 500 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.3004, allocations: 0.5044 MB / 0.9028 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3006, allocations: 119 kB / 0.9029 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.3007, allocations: 118.2 kB / 0.903 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.301, allocations: 325.7 kB / 0.9033 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.3014, allocations: 165.2 kB / 0.9035 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.3022, allocations: 0.502 MB / 0.9039 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.3031, allocations: 0.5109 MB / 0.9044 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3031, allocations: 0 / 0.9044 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001325/0.3044, allocations: 0.6292 MB / 0.9051 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3044, allocations: 8 kB / 0.9051 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3045, allocations: 4 kB / 0.9051 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.3045, allocations: 8.625 kB / 0.9051 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.305, allocations: 127.8 kB / 0.9052 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.305, allocations: 8 kB / 0.9052 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.3056, allocations: 83.41 kB / 0.9053 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.3057, allocations: 36.05 kB / 0.9053 GB, free: 13.15 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.0005504/0.3062, allocations: 278.2 kB / 0.9056 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.3064, allocations: 103.3 kB / 0.9057 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3077, allocations: 492.5 kB / 0.9062 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.3077, allocations: 7.922 kB / 0.9062 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3077, allocations: 4 kB / 0.9062 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008578/0.3085, allocations: 457.8 kB / 0.9066 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.311, allocations: 1.241 MB / 0.9078 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.3111, allocations: 7.938 kB / 0.9078 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.3114, allocations: 75.89 kB / 0.9079 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3114, allocations: 4.156 kB / 0.9079 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3114, allocations: 12 kB / 0.9079 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3114, allocations: 0 / 0.9079 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3114, allocations: 7.984 kB / 0.9079 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.3128, allocations: 0.7717 MB / 0.9087 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.3132, allocations: 163.2 kB / 0.9088 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3133, allocations: 11.98 kB / 0.9088 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.3138, allocations: 27.95 kB / 0.9089 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.3139, allocations: 31.89 kB / 0.9089 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.3139, allocations: 23.92 kB / 0.9089 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009211/0.3148, allocations: 0.6628 MB / 0.9096 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.3148, allocations: 0 / 0.9096 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000949/0.3158, allocations: 343.3 kB / 0.9099 GB, free: 8.32 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.002221/0.318, allocations: 1.581 MB / 0.9114 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009125/0.3189, allocations: 401.5 kB / 0.9118 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3189, allocations: 0 / 0.9118 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3193, allocations: 189 kB / 0.912 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.3218, allocations: 0.5962 MB / 0.9126 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3321, allocations: 6.853 MB / 0.9193 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3326, allocations: 445.2 kB / 0.9197 GB, free: 13.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007922/0.3334, allocations: 203.6 kB / 0.9199 GB, free: 13.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.3339, allocations: 383.2 kB / 0.9203 GB, free: 13.34 MB / 0.67 GB Notification: Performance of SimCode: time 1.242e-06/0.3339, allocations: 0 / 0.9203 GB, free: 13.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/0.4141, allocations: 32.69 MB / 0.9522 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.54, allocations: 10.03 kB / 0.9522 GB, free: 13.32 MB / 0.7012 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.494120570831] Failed to read output from testmodel.py, exit status != 0: 12.661918263882399 12.683761996 12.397461765 Calling exit ...