Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 107.9 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.223/1.223, allocations: 173.4 MB / 471.3 MB, free: 6.551 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.34 kB / 0.649 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1903, allocations: 89.53 MB / 0.7364 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04969/0.24, allocations: 41.64 MB / 0.7771 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.256, allocations: 10.4 MB / 0.7872 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.2582, allocations: 59.62 kB / 0.7873 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.2603, allocations: 0.6404 MB / 0.7879 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005901/0.2663, allocations: 1.877 MB / 0.7898 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.2698, allocations: 1.189 MB / 0.7909 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005429/0.2753, allocations: 3.405 MB / 0.7942 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.2772, allocations: 1.056 MB / 0.7953 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003864/0.2811, allocations: 1.39 MB / 0.7966 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.283, allocations: 0.875 MB / 0.7975 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.2834, allocations: 100 kB / 0.7976 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.2859, allocations: 0.8501 MB / 0.7984 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.2863, allocations: 283 kB / 0.7987 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.2876, allocations: 0.6337 MB / 0.7993 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.2918, allocations: 1.943 MB / 0.8012 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2918, allocations: 4 kB / 0.8012 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2918, allocations: 7.875 kB / 0.8012 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-05/0.2919, allocations: 4 kB / 0.8012 GB, free: 1.012 MB / 0.6075 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.00343/0.2953, allocations: 1.544 MB / 0.8027 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2954, allocations: 12.03 kB / 0.8027 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.2959, allocations: 140.1 kB / 0.8029 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.2981, allocations: 1.115 MB / 0.804 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.2982, allocations: 58 kB / 0.804 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.2984, allocations: 68 kB / 0.8041 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3, allocations: 0.7905 MB / 0.8049 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3001, allocations: 0 / 0.8049 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.3002, allocations: 32 kB / 0.8049 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/0.3002, allocations: 24 kB / 0.8049 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.3015, allocations: 0.5672 MB / 0.8055 GB, free: 12.53 MB / 0.6231 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.005337/0.3068, allocations: 3.722 MB / 0.8091 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.3075, allocations: 258.4 kB / 0.8093 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.3079, allocations: 168.8 kB / 0.8095 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.3085, allocations: 0.6649 MB / 0.8102 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3085, allocations: 30.56 kB / 0.8102 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/0.3085, allocations: 0 / 0.8102 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001388/0.3099, allocations: 0.5181 MB / 0.8107 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.31, allocations: 63.39 kB / 0.8107 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.3115, allocations: 0.9533 MB / 0.8117 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.3116, allocations: 33.7 kB / 0.8117 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.3121, allocations: 0.5004 MB / 0.8122 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3122, allocations: 119 kB / 0.8123 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.3124, allocations: 106.2 kB / 0.8124 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3126, allocations: 330 kB / 0.8127 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.313, allocations: 169 kB / 0.8129 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.3136, allocations: 346.9 kB / 0.8132 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.3146, allocations: 0.5081 MB / 0.8137 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.3146, allocations: 4 kB / 0.8137 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001398/0.316, allocations: 0.6257 MB / 0.8143 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.316, allocations: 9.719 kB / 0.8143 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.316, allocations: 4 kB / 0.8143 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.3161, allocations: 8 kB / 0.8144 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.3166, allocations: 127.8 kB / 0.8145 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.3166, allocations: 11.94 kB / 0.8145 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.3174, allocations: 87.62 kB / 0.8146 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.3174, allocations: 24 kB / 0.8146 GB, free: 2.527 MB / 0.6231 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.000483/0.3179, allocations: 286.5 kB / 0.8149 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.3182, allocations: 103.3 kB / 0.815 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3193, allocations: 485.5 kB / 0.8154 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3194, allocations: 4 kB / 0.8154 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3194, allocations: 3.938 kB / 0.8154 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008106/0.3202, allocations: 453.8 kB / 0.8159 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.3227, allocations: 1.359 MB / 0.8172 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.3228, allocations: 8.062 kB / 0.8172 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.3231, allocations: 75.88 kB / 0.8173 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.3231, allocations: 4.156 kB / 0.8173 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3232, allocations: 12 kB / 0.8173 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3232, allocations: 0 / 0.8173 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3232, allocations: 4 kB / 0.8173 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.3247, allocations: 0.7843 MB / 0.8181 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.3251, allocations: 224.3 kB / 0.8183 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.3253, allocations: 11.98 kB / 0.8183 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3259, allocations: 35.97 kB / 0.8183 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.326, allocations: 23.97 kB / 0.8183 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.326, allocations: 23.92 kB / 0.8184 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001061/0.3271, allocations: 0.6588 MB / 0.819 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3271, allocations: 0 / 0.819 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001192/0.3283, allocations: 339.3 kB / 0.8193 GB, free: 13.5 MB / 0.6387 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.001065/0.3294, allocations: 400.8 kB / 0.8197 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.3304, allocations: 420.8 kB / 0.8201 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3305, allocations: 4.062 kB / 0.8201 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.3309, allocations: 187.8 kB / 0.8203 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.3339, allocations: 0.6184 MB / 0.8209 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.3372, allocations: 1.653 MB / 0.8225 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.3381, allocations: 1.028 MB / 0.8235 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.3383, allocations: 83.42 kB / 0.8236 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of SimCode: time 2.334e-06/0.3383, allocations: 0 / 0.8236 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of Templates: time 0.03186/0.3702, allocations: 18.09 MB / 0.8413 GB, free: 7.102 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.539747799979523] Failed to read output from testmodel.py, exit status != 0: 0.3767108500469476 0.38992883100000003 0.095523801 Calling exit ...