Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001674/0.001674, allocations: 77.62 kB / 19.76 MB, free: 2.039 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.002154/0.002154, allocations: 158.5 kB / 23 MB, free: 4.945 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: IDEAS 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.002238/0.002238, allocations: 75.33 kB / 0.5356 GB, free: 5.488 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1713, allocations: 85.88 MB / 0.6195 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04747/0.2187, allocations: 38.21 MB / 0.6568 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.2352, allocations: 9.63 MB / 0.6662 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.2373, allocations: 79.31 kB / 0.6663 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.2395, allocations: 0.6327 MB / 0.6669 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.2456, allocations: 1.999 MB / 0.6689 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.249, allocations: 1.214 MB / 0.6701 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.254, allocations: 3.455 MB / 0.6734 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2553, allocations: 0.8029 MB / 0.6742 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.2588, allocations: 1.75 MB / 0.6759 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.2601, allocations: 0.9021 MB / 0.6768 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.2603, allocations: 100 kB / 0.6769 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.262, allocations: 0.7056 MB / 0.6776 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.2623, allocations: 298.8 kB / 0.6779 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.2629, allocations: 0.5094 MB / 0.6784 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.2655, allocations: 1.962 MB / 0.6803 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2655, allocations: 0 / 0.6803 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2655, allocations: 3.984 kB / 0.6803 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.2655, allocations: 4 kB / 0.6803 GB, free: 3.379 MB / 0.5762 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.002539/0.2681, allocations: 1.469 MB / 0.6817 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2681, allocations: 8.031 kB / 0.6817 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.2685, allocations: 148.1 kB / 0.6819 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.2704, allocations: 1.047 MB / 0.6829 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.2705, allocations: 57.94 kB / 0.683 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.2706, allocations: 75.98 kB / 0.683 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2721, allocations: 0.9489 MB / 0.684 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.2721, allocations: 0 / 0.684 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.2722, allocations: 28 kB / 0.684 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.2722, allocations: 24 kB / 0.684 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.2734, allocations: 0.5633 MB / 0.6846 GB, free: 14.87 MB / 0.5919 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.003807/0.2772, allocations: 2.606 MB / 0.6871 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.2779, allocations: 248.8 kB / 0.6873 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2782, allocations: 156.8 kB / 0.6875 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.2785, allocations: 67.95 kB / 0.6875 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2785, allocations: 38.56 kB / 0.6876 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.2785, allocations: 0 / 0.6876 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001234/0.2797, allocations: 0.5058 MB / 0.6881 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2798, allocations: 59.34 kB / 0.6881 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2808, allocations: 0.8099 MB / 0.6889 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.2808, allocations: 41.7 kB / 0.689 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.2812, allocations: 0.5 MB / 0.6895 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2814, allocations: 126.9 kB / 0.6896 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.2815, allocations: 114.2 kB / 0.6897 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2817, allocations: 333.9 kB / 0.69 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.2821, allocations: 161.2 kB / 0.6902 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.2827, allocations: 499.2 kB / 0.6906 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.2836, allocations: 0.5236 MB / 0.6911 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2836, allocations: 4 kB / 0.6911 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001198/0.2848, allocations: 0.606 MB / 0.6917 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2848, allocations: 7.938 kB / 0.6917 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2848, allocations: 8 kB / 0.6918 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2849, allocations: 8 kB / 0.6918 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.2854, allocations: 123.8 kB / 0.6919 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.2854, allocations: 12.38 kB / 0.6919 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.2859, allocations: 75.53 kB / 0.692 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.286, allocations: 24 kB / 0.692 GB, free: 6.918 MB / 0.5919 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.000415/0.2864, allocations: 278.9 kB / 0.6923 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.2865, allocations: 91.44 kB / 0.6923 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.2876, allocations: 484.9 kB / 0.6928 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2876, allocations: 4 kB / 0.6928 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2876, allocations: 4.062 kB / 0.6928 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008118/0.2884, allocations: 459 kB / 0.6932 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.2906, allocations: 1.152 MB / 0.6944 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.2906, allocations: 4 kB / 0.6944 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.2909, allocations: 75.89 kB / 0.6945 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2909, allocations: 3.938 kB / 0.6945 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.291, allocations: 11.98 kB / 0.6945 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.291, allocations: 4 kB / 0.6945 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.291, allocations: 8.156 kB / 0.6945 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2923, allocations: 0.7503 MB / 0.6952 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.2926, allocations: 139.3 kB / 0.6953 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.2927, allocations: 8 kB / 0.6954 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.2932, allocations: 32.03 kB / 0.6954 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.2933, allocations: 27.95 kB / 0.6954 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.2933, allocations: 15.98 kB / 0.6954 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000728/0.294, allocations: 0.5498 MB / 0.696 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.294, allocations: 0 / 0.696 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001027/0.295, allocations: 363 kB / 0.6963 GB, free: 2.375 MB / 0.5919 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.0006389/0.2957, allocations: 366.8 kB / 0.6967 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.2966, allocations: 412.2 kB / 0.697 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2966, allocations: 0 / 0.697 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.297, allocations: 171.8 kB / 0.6972 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.2991, allocations: 493.3 kB / 0.6977 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3263/0.6254, allocations: 1.58 MB / 0.6992 GB, free: 77.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.6259, allocations: 450.3 kB / 0.6997 GB, free: 77.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.6266, allocations: 172.2 kB / 0.6998 GB, free: 77.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6268, allocations: 72.75 kB / 0.6999 GB, free: 77.12 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.6268, allocations: 0.875 kB / 0.6999 GB, free: 77.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.033/0.6598, allocations: 18.71 MB / 0.7182 GB, free: 71.74 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3659794689156115] Failed to read output from testmodel.py, exit status != 0: 0.6673823771998286 0.680216919 0.41220783800000005 Calling exit ...