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.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001793/0.001793, allocations: 215.1 kB / 22.25 MB, free: 4.875 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.809 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.002572/0.002572, allocations: 298.8 kB / 312.7 MB, free: 2.594 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [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.00465/0.00465, allocations: 103.2 kB / 0.74 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1824, allocations: 95.39 MB / 0.8331 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0471/0.2295, allocations: 38.38 MB / 0.8706 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2456, allocations: 9.654 MB / 0.88 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.2477, allocations: 79.31 kB / 0.8801 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.2496, allocations: 0.6405 MB / 0.8807 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.2555, allocations: 2.007 MB / 0.8827 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.259, allocations: 1.206 MB / 0.8839 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00526/0.2642, allocations: 3.463 MB / 0.8873 GB, free: 164 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.2659, allocations: 0.8145 MB / 0.8881 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.2693, allocations: 1.299 MB / 0.8893 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.2712, allocations: 0.8866 MB / 0.8902 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.2715, allocations: 100 kB / 0.8903 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.2736, allocations: 0.7211 MB / 0.891 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.274, allocations: 294.7 kB / 0.8913 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009646/0.275, allocations: 0.5055 MB / 0.8918 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.2784, allocations: 1.958 MB / 0.8937 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2784, allocations: 3.938 kB / 0.8937 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2784, allocations: 0 / 0.8937 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.074e-05/0.2785, allocations: 0 / 0.8937 GB, free: 9.551 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.003121/0.2816, allocations: 1.473 MB / 0.8951 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2816, allocations: 13.34 kB / 0.8951 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.2821, allocations: 136.1 kB / 0.8953 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.2842, allocations: 1.048 MB / 0.8963 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.2843, allocations: 62 kB / 0.8963 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2844, allocations: 72 kB / 0.8964 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.286, allocations: 0.9372 MB / 0.8973 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.2861, allocations: 7.938 kB / 0.8973 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.2861, allocations: 39.98 kB / 0.8974 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.2862, allocations: 16 kB / 0.8974 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.2874, allocations: 0.5711 MB / 0.8979 GB, free: 5.039 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.004096/0.2915, allocations: 2.597 MB / 0.9005 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.2921, allocations: 238.4 kB / 0.9007 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.2924, allocations: 171.5 kB / 0.9009 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.2927, allocations: 67.95 kB / 0.9009 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2927, allocations: 42.55 kB / 0.901 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.2927, allocations: 0 / 0.901 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31): time 0.001249/0.294, allocations: 0.5023 MB / 0.9015 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.294, allocations: 55.41 kB / 0.9015 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2951, allocations: 0.8138 MB / 0.9023 GB, free: 448 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2952, allocations: 29.7 kB / 0.9023 GB, free: 412 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.2957, allocations: 0.5119 MB / 0.9028 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.2958, allocations: 111 kB / 0.903 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.296, allocations: 122.2 kB / 0.9031 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2961, allocations: 329.7 kB / 0.9034 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.2965, allocations: 169.2 kB / 0.9035 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2971, allocations: 0.4942 MB / 0.904 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.298, allocations: 0.5148 MB / 0.9045 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.298, allocations: 0 / 0.9045 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001216/0.2993, allocations: 0.6058 MB / 0.9051 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2993, allocations: 16.56 kB / 0.9051 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2993, allocations: 8 kB / 0.9051 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.2993, allocations: 12 kB / 0.9052 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.2998, allocations: 119.8 kB / 0.9053 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.2998, allocations: 8 kB / 0.9053 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.3003, allocations: 63.64 kB / 0.9053 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.3004, allocations: 27.98 kB / 0.9054 GB, free: 13.09 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.0003888/0.3008, allocations: 278.2 kB / 0.9056 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3009, allocations: 91.39 kB / 0.9057 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.302, allocations: 486.7 kB / 0.9062 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.302, allocations: 4 kB / 0.9062 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.302, allocations: 0 / 0.9062 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007856/0.3028, allocations: 458.1 kB / 0.9066 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.3049, allocations: 1.163 MB / 0.9078 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3049, allocations: 0 / 0.9078 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3052, allocations: 80.03 kB / 0.9078 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.3053, allocations: 8 kB / 0.9078 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3053, allocations: 12 kB / 0.9079 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.3053, allocations: 8 kB / 0.9079 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3053, allocations: 0 / 0.9079 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3067, allocations: 0.77 MB / 0.9086 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.3071, allocations: 127.4 kB / 0.9087 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3072, allocations: 15.92 kB / 0.9088 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.3077, allocations: 27.97 kB / 0.9088 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.3078, allocations: 27.95 kB / 0.9088 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.3078, allocations: 15.98 kB / 0.9088 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007939/0.3086, allocations: 0.5575 MB / 0.9094 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.3086, allocations: 0 / 0.9094 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00109/0.3097, allocations: 363 kB / 0.9097 GB, free: 8.523 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.0007741/0.3105, allocations: 366.2 kB / 0.9101 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.3116, allocations: 397.1 kB / 0.9104 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3116, allocations: 8.062 kB / 0.9104 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.312, allocations: 181 kB / 0.9106 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.3141, allocations: 483.7 kB / 0.9111 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.317, allocations: 1.597 MB / 0.9126 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.3176, allocations: 452.6 kB / 0.9131 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006432/0.3182, allocations: 174.2 kB / 0.9132 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.3184, allocations: 75.36 kB / 0.9133 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of SimCode: time 1.282e-06/0.3184, allocations: 0 / 0.9133 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of Templates: time 0.03508/0.3535, allocations: 20.3 MB / 0.9331 GB, free: 0.9102 MB / 0.67 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1739881578832865] Failed to read output from testmodel.py, exit status != 0: 0.362316669896245 0.376103906 0.09445752900000001 Calling exit ...