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.0007006/0.0007006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009588/0.001659, 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.0006828/0.0006828, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001745, 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.8949/0.8949, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08419/0.9791, 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8122/0.8122, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2555/1.068, allocations: 49.04 MB / 447.8 MB, free: 6.523 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/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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 449.2 MB, free: 5.191 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.301e-05, allocations: 4.266 kB / 449.2 MB, free: 5.188 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0143/0.01432, allocations: 13.24 MB / 462.4 MB, free: 7.977 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.02551, allocations: 5.51 MB / 467.9 MB, free: 2.504 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.02736, allocations: 80.81 kB / 468 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.02826, allocations: 377.2 kB / 468.4 MB, free: 2.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.03157, allocations: 1.336 MB / 469.7 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.03422, allocations: 1.118 MB / 470.8 MB, free: 15.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.0385, allocations: 3.398 MB / 474.2 MB, free: 12.22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.04033, allocations: 0.873 MB / 475.1 MB, free: 11.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.04347, allocations: 1.703 MB / 476.8 MB, free: 9.648 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.0447, allocations: 0.7564 MB / 477.6 MB, free: 8.891 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.04487, allocations: 101.1 kB / 477.7 MB, free: 8.793 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.04567, allocations: 291.5 kB / 477.9 MB, free: 8.508 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.04592, allocations: 243 kB / 478.2 MB, free: 8.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.04641, allocations: 368.4 kB / 478.5 MB, free: 7.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.04791, allocations: 0.981 MB / 479.5 MB, free: 6.926 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.04792, allocations: 0 / 479.5 MB, free: 6.926 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.04793, allocations: 4.625 kB / 479.5 MB, free: 6.922 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.04795, allocations: 0 / 479.5 MB, free: 6.922 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.00215/0.0501, allocations: 1.684 MB / 481.2 MB, free: 5.195 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.05013, allocations: 8.562 kB / 481.2 MB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.0505, allocations: 171 kB / 481.4 MB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.05171, allocations: 0.7452 MB / 482.1 MB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.05175, allocations: 54.38 kB / 482.2 MB, free: 4.195 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.05186, allocations: 75.94 kB / 482.3 MB, free: 4.121 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.05281, allocations: 0.6944 MB / 482.9 MB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.05283, allocations: 1.625 kB / 483 MB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.05288, allocations: 35.97 kB / 483 MB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.05292, allocations: 20 kB / 483 MB, free: 3.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.05328, allocations: 195 kB / 483.2 MB, free: 3.105 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.05581, allocations: 2.175 MB / 485.4 MB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.05612, allocations: 184 kB / 485.5 MB, free: 0.6758 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.05621, allocations: 61.75 kB / 485.6 MB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.05632, allocations: 32.91 kB / 485.6 MB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.05635, allocations: 42.55 kB / 485.7 MB, free: 0.5312 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.05635, allocations: 0 / 485.7 MB, free: 0.5312 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003907/0.05674, allocations: 196.3 kB / 485.9 MB, free: 344 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.05677, allocations: 55.41 kB / 485.9 MB, free: 276 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.0577, allocations: 0.6769 MB / 486.6 MB, free: 15.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.05774, allocations: 34.98 kB / 486.6 MB, free: 15.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.05798, allocations: 409.8 kB / 487 MB, free: 15.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.05806, allocations: 119 kB / 487.2 MB, free: 15.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.0582, allocations: 114.7 kB / 487.3 MB, free: 14.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.05828, allocations: 329.9 kB / 487.6 MB, free: 14.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.05842, allocations: 65.77 kB / 487.7 MB, free: 14.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.0587, allocations: 398 kB / 488 MB, free: 14.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.0591, allocations: 351 kB / 488.4 MB, free: 13.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.05911, allocations: 4 kB / 488.4 MB, free: 13.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005367/0.05965, allocations: 356.8 kB / 488.7 MB, free: 13.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.05967, allocations: 8 kB / 488.7 MB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.05968, allocations: 4 kB / 488.8 MB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.0597, allocations: 8 kB / 488.8 MB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.06009, allocations: 131.8 kB / 488.9 MB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.0601, allocations: 12.58 kB / 488.9 MB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.06047, allocations: 60.97 kB / 489 MB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.06052, allocations: 31.97 kB / 489 MB, free: 13 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.0001923/0.06071, allocations: 149.2 kB / 489.1 MB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.06082, allocations: 59.88 kB / 489.2 MB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.06123, allocations: 251.9 kB / 489.4 MB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.06125, allocations: 4 kB / 489.4 MB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.06125, allocations: 1.062 kB / 489.4 MB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002187/0.06147, allocations: 231.5 kB / 489.7 MB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.06271, allocations: 0.7764 MB / 490.4 MB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.06272, allocations: 4 kB / 490.5 MB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.06294, allocations: 79.89 kB / 490.5 MB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.06316, allocations: 108.9 kB / 490.6 MB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.06317, allocations: 4 kB / 490.6 MB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.06318, allocations: 4 kB / 490.6 MB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.06319, allocations: 7.938 kB / 490.7 MB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.06319, allocations: 5.922 kB / 490.7 MB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.06355, allocations: 441.9 kB / 491.1 MB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.0636, allocations: 13.22 kB / 491.1 MB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.06379, allocations: 23.98 kB / 491.1 MB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.06383, allocations: 32.42 kB / 491.2 MB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.06386, allocations: 13.02 kB / 491.2 MB, free: 10.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000245/0.0641, allocations: 331.3 kB / 491.5 MB, free: 10.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0641, allocations: 0 / 491.5 MB, free: 10.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005656/0.06467, allocations: 284.9 kB / 491.8 MB, free: 10.11 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.0002584/0.06492, allocations: 165.3 kB / 491.9 MB, free: 9.949 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.0652, allocations: 224.9 kB / 492.2 MB, free: 9.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.06521, allocations: 14.75 kB / 492.2 MB, free: 9.719 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.06535, allocations: 116.7 kB / 492.3 MB, free: 9.602 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.06729, allocations: 3.25 MB / 495.5 MB, free: 5.801 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.07208, allocations: 1.446 MB / 497 MB, free: 4.301 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.07219, allocations: 187.2 kB / 497.2 MB, free: 4.098 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.0725, allocations: 144.2 kB / 497.3 MB, free: 3.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.07305, allocations: 361 kB / 497.7 MB, free: 3.625 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.07305, allocations: 0 / 497.7 MB, free: 3.625 MB / 474.7 MB Notification: Performance of Templates: time 0.02052/0.09357, allocations: 18.37 MB / 0.5039 GB, free: 1.945 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7558176713064313]