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.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.0006788/0.0006788, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009476/0.001626, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006752/0.0006752, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009422/0.001617, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.944/0.944, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07409/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.245/0.9994, allocations: 49.15 MB / 448.6 MB, free: 5.879 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(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 1.182e-06/1.182e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.175e-05, allocations: 2.312 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009578/0.00959, allocations: 13.23 MB / 463.2 MB, free: 7.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.01606, allocations: 5.522 MB / 468.7 MB, free: 1.863 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.0166, allocations: 79.31 kB / 468.8 MB, free: 1.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.01711, allocations: 374.4 kB / 469.2 MB, free: 1.418 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.01858, allocations: 1.347 MB / 470.5 MB, free: 76 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.01978, allocations: 1.112 MB / 471.6 MB, free: 14.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.02188, allocations: 3.392 MB / 475 MB, free: 11.58 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009959/0.02288, allocations: 0.8682 MB / 475.9 MB, free: 10.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.02431, allocations: 1.704 MB / 477.6 MB, free: 9.016 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.02503, allocations: 0.7533 MB / 478.4 MB, free: 8.262 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.02514, allocations: 100 kB / 478.5 MB, free: 8.164 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.02559, allocations: 300.4 kB / 478.7 MB, free: 7.871 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.02575, allocations: 251 kB / 479 MB, free: 7.625 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.02604, allocations: 371.3 kB / 479.4 MB, free: 7.262 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.02692, allocations: 0.9738 MB / 480.3 MB, free: 6.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.02694, allocations: 1.219 kB / 480.3 MB, free: 6.285 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02694, allocations: 0 / 480.3 MB, free: 6.285 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.02696, allocations: 0 / 480.3 MB, free: 6.285 MB / 458.7 MB 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.001453/0.02841, allocations: 1.68 MB / 482 MB, free: 4.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.02844, allocations: 12.03 kB / 482 MB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.02867, allocations: 168.5 kB / 482.2 MB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.02949, allocations: 0.7445 MB / 482.9 MB, free: 3.609 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.02952, allocations: 50.91 kB / 483 MB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.0296, allocations: 84.95 kB / 483.1 MB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.03014, allocations: 0.6912 MB / 483.8 MB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.03016, allocations: 1.438 kB / 483.8 MB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.0302, allocations: 32 kB / 483.8 MB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.03024, allocations: 20 kB / 483.8 MB, free: 2.664 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.03048, allocations: 203.1 kB / 484 MB, free: 2.465 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.03222, allocations: 2.165 MB / 486.2 MB, free: 236 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.03243, allocations: 174.5 kB / 486.3 MB, free: 52 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.03251, allocations: 80.06 kB / 486.4 MB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.877e-05/0.03258, allocations: 35.25 kB / 486.5 MB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.0326, allocations: 34.56 kB / 486.5 MB, free: 15.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.03261, allocations: 0 / 486.5 MB, free: 15.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002643/0.03287, allocations: 206.8 kB / 486.7 MB, free: 15.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.03289, allocations: 52.84 kB / 486.7 MB, free: 15.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.03334, allocations: 0.677 MB / 487.4 MB, free: 14.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.03336, allocations: 29.7 kB / 487.4 MB, free: 14.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.03354, allocations: 413.8 kB / 487.9 MB, free: 14.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.0336, allocations: 116.2 kB / 488 MB, free: 14.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.03369, allocations: 114.2 kB / 488.1 MB, free: 14.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.03377, allocations: 325.9 kB / 488.4 MB, free: 13.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.03386, allocations: 65.58 kB / 488.5 MB, free: 13.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.03407, allocations: 398.1 kB / 488.8 MB, free: 13.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.03436, allocations: 354.7 kB / 489.2 MB, free: 12.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.03437, allocations: 0 / 489.2 MB, free: 12.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003418/0.03471, allocations: 347.8 kB / 489.5 MB, free: 12.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.03472, allocations: 13.77 kB / 489.5 MB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.03473, allocations: 4 kB / 489.6 MB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.03474, allocations: 8 kB / 489.6 MB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.03499, allocations: 135.8 kB / 489.7 MB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.035, allocations: 13.66 kB / 489.7 MB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.03521, allocations: 67.48 kB / 489.8 MB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.03523, allocations: 20 kB / 489.8 MB, free: 12.36 MB / 474.7 MB 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.0001273/0.03536, allocations: 146 kB / 489.9 MB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.03543, allocations: 67.86 kB / 490 MB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.0357, allocations: 243.8 kB / 490.2 MB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03571, allocations: 4 kB / 490.2 MB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.03571, allocations: 1.469 kB / 490.2 MB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001437/0.03585, allocations: 232.7 kB / 490.5 MB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.03659, allocations: 0.7922 MB / 491.3 MB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.03659, allocations: 0 / 491.3 MB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.03677, allocations: 80.45 kB / 491.3 MB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.0369, allocations: 110.7 kB / 491.4 MB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.03691, allocations: 4 kB / 491.5 MB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.03692, allocations: 11.98 kB / 491.5 MB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.03693, allocations: 0 / 491.5 MB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.03693, allocations: 7.938 kB / 491.5 MB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.03727, allocations: 430.2 kB / 491.9 MB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.03732, allocations: 11.98 kB / 491.9 MB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.0375, allocations: 16.55 kB / 491.9 MB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.03754, allocations: 28.45 kB / 491.9 MB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.03756, allocations: 16.05 kB / 492 MB, free: 10.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.0378, allocations: 332.2 kB / 492.3 MB, free: 9.758 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0378, allocations: 0 / 492.3 MB, free: 9.758 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.03822, allocations: 280.8 kB / 492.6 MB, free: 9.484 MB / 474.7 MB 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.0002448/0.03847, allocations: 171.4 kB / 492.7 MB, free: 9.312 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.03873, allocations: 238.7 kB / 493 MB, free: 9.082 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.03874, allocations: 12 kB / 493 MB, free: 9.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.03888, allocations: 114.5 kB / 493.1 MB, free: 8.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.04066, allocations: 3.259 MB / 496.3 MB, free: 5.148 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.04549, allocations: 1.421 MB / 497.8 MB, free: 3.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.0456, allocations: 184.4 kB / 497.9 MB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.04591, allocations: 142.9 kB / 498.1 MB, free: 3.355 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.04646, allocations: 364.9 kB / 498.4 MB, free: 2.992 MB / 474.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04646, allocations: 0 / 498.4 MB, free: 2.992 MB / 474.7 MB Notification: Performance of Templates: time 0.02022/0.06668, allocations: 18.37 MB / 0.5047 GB, free: 1.348 MB / 490.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7805485958233476]