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.0008707/0.0008707, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003555/0.004425, 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.0009064/0.0009064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002839/0.003746, 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.9705/0.9705, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0899/1.06, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.8146/0.8146, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 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.282/1.097, allocations: 49.04 MB / 447.6 MB, free: 6.723 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.353e-06/1.353e-06, allocations: 0 / 448.9 MB, free: 5.414 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.12e-05, allocations: 4.422 kB / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01501/0.01503, allocations: 13.22 MB / 462.1 MB, free: 8.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.02706, allocations: 5.532 MB / 467.7 MB, free: 2.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.02998, allocations: 80.5 kB / 467.7 MB, free: 2.652 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.03139, allocations: 373.2 kB / 468.1 MB, free: 2.285 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.03596, allocations: 1.348 MB / 469.4 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.03903, allocations: 1.108 MB / 470.6 MB, free: 15.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005813/0.04484, allocations: 3.386 MB / 473.9 MB, free: 12.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.04672, allocations: 0.8676 MB / 474.8 MB, free: 11.58 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.04929, allocations: 1.724 MB / 476.5 MB, free: 9.867 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.05015, allocations: 0.7538 MB / 477.3 MB, free: 9.113 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.05027, allocations: 105.8 kB / 477.4 MB, free: 9.012 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.05107, allocations: 291.5 kB / 477.7 MB, free: 8.727 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.05127, allocations: 247 kB / 477.9 MB, free: 8.484 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.05167, allocations: 367.3 kB / 478.3 MB, free: 8.125 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.05282, allocations: 0.9771 MB / 479.2 MB, free: 7.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.112e-05/0.05284, allocations: 1.875 kB / 479.2 MB, free: 7.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05285, allocations: 0 / 479.2 MB, free: 7.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.05287, allocations: 0 / 479.2 MB, free: 7.145 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.001611/0.05448, allocations: 1.691 MB / 480.9 MB, free: 5.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.05452, allocations: 8.031 kB / 480.9 MB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.05477, allocations: 168.5 kB / 481.1 MB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/0.05564, allocations: 0.7487 MB / 481.9 MB, free: 4.457 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.05567, allocations: 55.53 kB / 481.9 MB, free: 4.406 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.05574, allocations: 75.94 kB / 482 MB, free: 4.332 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.05633, allocations: 0.6954 MB / 482.7 MB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.05635, allocations: 4.969 kB / 482.7 MB, free: 3.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.05638, allocations: 28 kB / 482.7 MB, free: 3.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.05642, allocations: 21.48 kB / 482.7 MB, free: 3.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.05666, allocations: 198.8 kB / 482.9 MB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.05851, allocations: 2.17 MB / 485.1 MB, free: 1.078 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.05874, allocations: 170.7 kB / 485.3 MB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.05881, allocations: 73.25 kB / 485.3 MB, free: 0.8281 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-05/0.05891, allocations: 36.5 kB / 485.4 MB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.05893, allocations: 39.22 kB / 485.4 MB, free: 0.7461 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.05893, allocations: 0.9375 kB / 485.4 MB, free: 0.7461 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002847/0.05922, allocations: 194.6 kB / 485.6 MB, free: 0.5508 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.05925, allocations: 55.41 kB / 485.7 MB, free: 496 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.0597, allocations: 0.6778 MB / 486.3 MB, free: 15.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.05973, allocations: 33.7 kB / 486.4 MB, free: 15.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.05991, allocations: 410.7 kB / 486.8 MB, free: 15.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.05997, allocations: 119 kB / 486.9 MB, free: 15.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.06006, allocations: 112.9 kB / 487 MB, free: 15.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.06014, allocations: 329.9 kB / 487.3 MB, free: 14.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.06023, allocations: 64.06 kB / 487.4 MB, free: 14.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.06045, allocations: 398.1 kB / 487.8 MB, free: 14.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.06073, allocations: 340.7 kB / 488.1 MB, free: 13.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.06073, allocations: 0 / 488.1 MB, free: 13.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003546/0.06109, allocations: 352 kB / 488.4 MB, free: 13.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.0611, allocations: 8 kB / 488.5 MB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.06111, allocations: 8.719 kB / 488.5 MB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.06112, allocations: 8 kB / 488.5 MB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.06138, allocations: 137.1 kB / 488.6 MB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.06139, allocations: 11.94 kB / 488.6 MB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.06159, allocations: 70.12 kB / 488.7 MB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.06162, allocations: 16 kB / 488.7 MB, free: 13.23 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.0001281/0.06174, allocations: 152.5 kB / 488.9 MB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.06181, allocations: 67.86 kB / 488.9 MB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.0621, allocations: 253.8 kB / 489.2 MB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.06211, allocations: 8.484 kB / 489.2 MB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.06211, allocations: 1.406 kB / 489.2 MB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/0.06225, allocations: 221.6 kB / 489.4 MB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.063, allocations: 0.7788 MB / 490.2 MB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.063, allocations: 64 / 490.2 MB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.0632, allocations: 92.84 kB / 490.3 MB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.06332, allocations: 104.3 kB / 490.4 MB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.06333, allocations: 5.875 kB / 490.4 MB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.06334, allocations: 8 kB / 490.4 MB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.06335, allocations: 0.9688 kB / 490.4 MB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.06335, allocations: 7.938 kB / 490.4 MB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.06368, allocations: 436.5 kB / 490.8 MB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.06373, allocations: 8 kB / 490.8 MB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.0639, allocations: 20.55 kB / 490.8 MB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.06395, allocations: 32.48 kB / 490.9 MB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.06397, allocations: 15.98 kB / 490.9 MB, free: 10.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.06419, allocations: 331.9 kB / 491.2 MB, free: 10.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06419, allocations: 0 / 491.2 MB, free: 10.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004274/0.06462, allocations: 284.5 kB / 491.5 MB, free: 10.34 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.0002664/0.06489, allocations: 161.2 kB / 491.6 MB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.06515, allocations: 225.4 kB / 491.9 MB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/0.06517, allocations: 12.75 kB / 491.9 MB, free: 9.953 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.06526, allocations: 99.14 kB / 492 MB, free: 9.855 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.06627, allocations: 0.5635 MB / 492.5 MB, free: 9.344 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.07117, allocations: 1.437 MB / 494 MB, free: 7.852 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.07136, allocations: 187.2 kB / 494.2 MB, free: 7.645 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005049/0.07187, allocations: 144.5 kB / 494.3 MB, free: 7.531 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.07245, allocations: 358 kB / 494.6 MB, free: 7.176 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/0.07245, allocations: 0 / 494.6 MB, free: 7.176 MB / 474.7 MB Notification: Performance of Templates: time 0.0223/0.09475, allocations: 18.39 MB / 0.501 GB, free: 5.496 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: 4.021712225861847]