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.0006933/0.0006933, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001701, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007067/0.0007067, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009546/0.001661, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9285/0.9285, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08658/1.015, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7947/0.7947, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2889/1.084, allocations: 49.13 MB / 448.4 MB, free: 6.027 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.613e-06/1.613e-06, allocations: 0 / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.519e-05, allocations: 2.312 kB / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01134/0.01137, allocations: 13.23 MB / 462.9 MB, free: 7.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.0191, allocations: 5.518 MB / 468.5 MB, free: 2.035 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009924/0.02009, allocations: 81.38 kB / 468.5 MB, free: 1.957 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.02071, allocations: 377.3 kB / 468.9 MB, free: 1.586 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.0227, allocations: 1.342 MB / 470.3 MB, free: 252 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.02431, allocations: 1.114 MB / 471.4 MB, free: 15.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.02713, allocations: 3.398 MB / 474.8 MB, free: 11.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.02834, allocations: 0.8682 MB / 475.6 MB, free: 10.87 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.03008, allocations: 1.72 MB / 477.4 MB, free: 9.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.03087, allocations: 0.7611 MB / 478.1 MB, free: 8.398 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.03099, allocations: 97.44 kB / 478.2 MB, free: 8.305 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.03149, allocations: 299.5 kB / 478.5 MB, free: 8.012 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.03166, allocations: 243 kB / 478.7 MB, free: 7.773 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.032, allocations: 375.2 kB / 479.1 MB, free: 7.406 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.03301, allocations: 0.9781 MB / 480.1 MB, free: 6.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.137e-05/0.03303, allocations: 0 / 480.1 MB, free: 6.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03303, allocations: 0.75 kB / 480.1 MB, free: 6.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.03306, allocations: 0 / 480.1 MB, free: 6.426 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.001481/0.03454, allocations: 1.683 MB / 481.8 MB, free: 4.699 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.03457, allocations: 13.25 kB / 481.8 MB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.03481, allocations: 172.5 kB / 482 MB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.03561, allocations: 0.7297 MB / 482.7 MB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.03564, allocations: 58.31 kB / 482.7 MB, free: 3.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.03571, allocations: 87.91 kB / 482.8 MB, free: 3.617 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.03627, allocations: 0.6877 MB / 483.5 MB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.03629, allocations: 0 / 483.5 MB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.03633, allocations: 36 kB / 483.5 MB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.03636, allocations: 20.69 kB / 483.6 MB, free: 2.801 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.03661, allocations: 199.9 kB / 483.8 MB, free: 2.605 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.03841, allocations: 2.158 MB / 485.9 MB, free: 392 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.03864, allocations: 172 kB / 486.1 MB, free: 208 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.03872, allocations: 78.64 kB / 486.2 MB, free: 128 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.03881, allocations: 35.52 kB / 486.2 MB, free: 96 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.03884, allocations: 42.5 kB / 486.2 MB, free: 44 kB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.03884, allocations: 0 / 486.2 MB, free: 44 kB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003018/0.03914, allocations: 198.1 kB / 486.4 MB, free: 15.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.03917, allocations: 59.34 kB / 486.5 MB, free: 15.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.03963, allocations: 0.6738 MB / 487.2 MB, free: 15.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.03966, allocations: 37.7 kB / 487.2 MB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.03986, allocations: 411.1 kB / 487.6 MB, free: 14.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.03992, allocations: 115 kB / 487.7 MB, free: 14.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.04001, allocations: 118.2 kB / 487.8 MB, free: 14.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.04009, allocations: 329.9 kB / 488.2 MB, free: 14.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.04018, allocations: 61.94 kB / 488.2 MB, free: 14.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.0404, allocations: 394.2 kB / 488.6 MB, free: 13.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.04068, allocations: 336.5 kB / 488.9 MB, free: 13.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.04068, allocations: 0 / 488.9 MB, free: 13.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003542/0.04104, allocations: 356 kB / 489.3 MB, free: 12.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.04105, allocations: 8.625 kB / 489.3 MB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.04106, allocations: 6.406 kB / 489.3 MB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.04107, allocations: 8 kB / 489.3 MB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.04133, allocations: 131.8 kB / 489.4 MB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.04133, allocations: 8 kB / 489.4 MB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.04154, allocations: 67.55 kB / 489.5 MB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.04156, allocations: 24.84 kB / 489.5 MB, free: 12.53 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.000141/0.0417, allocations: 141 kB / 489.7 MB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.04177, allocations: 67.86 kB / 489.7 MB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.04206, allocations: 241.4 kB / 490 MB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.04206, allocations: 4 kB / 490 MB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.04207, allocations: 0 / 490 MB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001551/0.04222, allocations: 236.6 kB / 490.2 MB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.04303, allocations: 0.7761 MB / 491 MB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.04303, allocations: 5.469 kB / 491 MB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.04323, allocations: 83.94 kB / 491.1 MB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.04336, allocations: 103.3 kB / 491.2 MB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.04337, allocations: 4.75 kB / 491.2 MB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.04338, allocations: 15.98 kB / 491.2 MB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.04339, allocations: 9.406 kB / 491.2 MB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04339, allocations: 3.938 kB / 491.2 MB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.04373, allocations: 439.2 kB / 491.6 MB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.04378, allocations: 15.98 kB / 491.6 MB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.04396, allocations: 15.98 kB / 491.7 MB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.04401, allocations: 32.55 kB / 491.7 MB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.04403, allocations: 11.98 kB / 491.7 MB, free: 10.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.04426, allocations: 334.5 kB / 492 MB, free: 9.914 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04426, allocations: 0 / 492 MB, free: 9.914 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.04472, allocations: 279.3 kB / 492.3 MB, free: 9.641 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.0002689/0.04498, allocations: 170.7 kB / 492.5 MB, free: 9.469 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.04525, allocations: 222.4 kB / 492.7 MB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.04526, allocations: 12 kB / 492.7 MB, free: 9.242 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.04535, allocations: 82.02 kB / 492.8 MB, free: 9.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.04639, allocations: 0.578 MB / 493.4 MB, free: 8.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.05139, allocations: 1.447 MB / 494.8 MB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.0515, allocations: 189.9 kB / 495 MB, free: 6.934 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.05186, allocations: 135.8 kB / 495.1 MB, free: 6.824 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/0.05243, allocations: 362.5 kB / 495.5 MB, free: 6.465 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/0.05243, allocations: 0 / 495.5 MB, free: 6.465 MB / 474.7 MB Notification: Performance of Templates: time 0.01987/0.07231, allocations: 18.39 MB / 0.5018 GB, free: 4.816 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.835708356462419]