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.002109/0.002109, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002745/0.002745, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.128/1.128, allocations: 177.9 MB / 484.2 MB, free: 5.328 MB / 382.1 MB " [Timeout remaining time 178] 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.002015/0.002015, allocations: 71.72 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6282, allocations: 95.17 MB / 0.7669 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.045/0.6732, allocations: 42.34 MB / 0.8083 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.6905, allocations: 10.47 MB / 0.8185 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.6931, allocations: 78.75 kB / 0.8186 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.6956, allocations: 0.6715 MB / 0.8192 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00676/0.7024, allocations: 2.019 MB / 0.8212 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.7063, allocations: 1.261 MB / 0.8224 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0059/0.7122, allocations: 3.498 MB / 0.8259 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.7139, allocations: 0.8177 MB / 0.8266 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.7183, allocations: 1.444 MB / 0.8281 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.7204, allocations: 0.9261 MB / 0.829 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.7206, allocations: 100.6 kB / 0.8291 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.7234, allocations: 0.8907 MB / 0.8299 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.7238, allocations: 304.2 kB / 0.8302 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.7248, allocations: 0.6265 MB / 0.8308 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.7286, allocations: 1.946 MB / 0.8327 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7286, allocations: 1.094 kB / 0.8327 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7286, allocations: 0 / 0.8327 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.7286, allocations: 0 / 0.8327 GB, free: 9.16 MB / 0.6231 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.003489/0.7321, allocations: 1.469 MB / 0.8342 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7321, allocations: 18.12 kB / 0.8342 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.7326, allocations: 141.2 kB / 0.8343 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.7347, allocations: 1.062 MB / 0.8354 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.7348, allocations: 60.28 kB / 0.8354 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.7349, allocations: 66.75 kB / 0.8355 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.7363, allocations: 0.7924 MB / 0.8363 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7364, allocations: 1.219 kB / 0.8363 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.7364, allocations: 30.94 kB / 0.8363 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.7365, allocations: 21.69 kB / 0.8363 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.7376, allocations: 0.5695 MB / 0.8369 GB, free: 6.293 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.004713/0.7423, allocations: 3.646 MB / 0.8404 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.743, allocations: 240.1 kB / 0.8406 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.7433, allocations: 168 kB / 0.8408 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.7436, allocations: 60.64 kB / 0.8409 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.7436, allocations: 37.84 kB / 0.8409 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.7436, allocations: 0 / 0.8409 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.0013/0.7449, allocations: 0.5188 MB / 0.8414 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.745, allocations: 55.31 kB / 0.8415 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.7463, allocations: 0.9533 MB / 0.8424 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.7464, allocations: 32.27 kB / 0.8424 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.7469, allocations: 0.4974 MB / 0.8429 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.747, allocations: 121.6 kB / 0.843 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.7472, allocations: 112.9 kB / 0.8431 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7474, allocations: 326.5 kB / 0.8434 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.7478, allocations: 167.1 kB / 0.8436 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.7484, allocations: 348.3 kB / 0.8439 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009194/0.7493, allocations: 0.5074 MB / 0.8444 GB, free: 156 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.7493, allocations: 6.094 kB / 0.8444 GB, free: 152 kB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001322/0.7506, allocations: 0.6279 MB / 0.8451 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7506, allocations: 7.75 kB / 0.8451 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7506, allocations: 5.344 kB / 0.8451 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.7507, allocations: 8.875 kB / 0.8451 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.7511, allocations: 125.1 kB / 0.8452 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.7511, allocations: 20.38 kB / 0.8452 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.7519, allocations: 87.34 kB / 0.8453 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.7519, allocations: 23.84 kB / 0.8453 GB, free: 15.71 MB / 0.6387 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.0004274/0.7523, allocations: 278.3 kB / 0.8456 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.7525, allocations: 104 kB / 0.8457 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.7536, allocations: 491.2 kB / 0.8461 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7536, allocations: 6.906 kB / 0.8462 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7536, allocations: 5.438 kB / 0.8462 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007864/0.7544, allocations: 458 kB / 0.8466 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.7567, allocations: 1.344 MB / 0.8479 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.7567, allocations: 5.359 kB / 0.8479 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.757, allocations: 76.42 kB / 0.848 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.757, allocations: 2.75 kB / 0.848 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.757, allocations: 16.11 kB / 0.848 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.7571, allocations: 6.812 kB / 0.848 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7571, allocations: 1.375 kB / 0.848 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.7584, allocations: 0.7796 MB / 0.8488 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.7589, allocations: 158.5 kB / 0.8489 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.759, allocations: 10.88 kB / 0.8489 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.7595, allocations: 26.66 kB / 0.849 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.7596, allocations: 25.92 kB / 0.849 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.7596, allocations: 20.05 kB / 0.849 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009223/0.7606, allocations: 0.664 MB / 0.8497 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7606, allocations: 0 / 0.8497 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001067/0.7616, allocations: 348.2 kB / 0.85 GB, free: 12.7 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.0007537/0.7624, allocations: 385.8 kB / 0.8504 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.7633, allocations: 408.7 kB / 0.8507 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7633, allocations: 0 / 0.8507 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.7637, allocations: 183 kB / 0.8509 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.7663, allocations: 0.6161 MB / 0.8515 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.7689, allocations: 1.616 MB / 0.8531 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.7696, allocations: 1.036 MB / 0.8541 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000684/0.7703, allocations: 196.3 kB / 0.8543 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7704, allocations: 79.42 kB / 0.8544 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.7704, allocations: 0 / 0.8544 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of Templates: time 0.03798/0.8084, allocations: 21.8 MB / 0.8757 GB, free: 3.113 MB / 0.6544 GB " [Timeout remaining time 659] 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: 7.17989503312856] Failed to read output from testmodel.py, exit status != 0: 0.8173061963170767 0.831895252 0.09996184200000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f00a7e017b0>