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.001812/0.001812, allocations: 84.08 kB / 19.44 MB, free: 332 kB / 13.93 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.002229/0.002229, allocations: 165.7 kB / 22.76 MB, free: 1.648 MB / 18.57 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 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.327/1.327, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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. " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.831e-05, allocations: 3.875 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05878/0.05881, allocations: 43.06 MB / 0.5617 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.07773, allocations: 10.67 MB / 0.5721 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.07946, allocations: 79.31 kB / 0.5722 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.08146, allocations: 0.6531 MB / 0.5728 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005764/0.08722, allocations: 2.059 MB / 0.5748 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.09065, allocations: 1.272 MB / 0.5761 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00585/0.0965, allocations: 3.487 MB / 0.5795 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.09814, allocations: 0.8343 MB / 0.5803 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.1026, allocations: 1.924 MB / 0.5822 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.104, allocations: 0.806 MB / 0.583 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1042, allocations: 100 kB / 0.5831 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.1061, allocations: 0.7169 MB / 0.5838 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.1065, allocations: 306.8 kB / 0.5841 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.1072, allocations: 438.9 kB / 0.5845 GB, free: 128 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.1107, allocations: 1.971 MB / 0.5864 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1107, allocations: 0 / 0.5864 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1107, allocations: 3.938 kB / 0.5864 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.1107, allocations: 0 / 0.5864 GB, free: 14.14 MB / 0.5573 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.003008/0.1137, allocations: 1.678 MB / 0.588 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1138, allocations: 11.97 kB / 0.5881 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.1143, allocations: 212 kB / 0.5883 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.1164, allocations: 1.07 MB / 0.5893 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.1164, allocations: 54.38 kB / 0.5893 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1166, allocations: 79.94 kB / 0.5894 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1182, allocations: 0.966 MB / 0.5904 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.1182, allocations: 7.984 kB / 0.5904 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.1183, allocations: 28 kB / 0.5904 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.1184, allocations: 24 kB / 0.5904 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1195, allocations: 0.493 MB / 0.5909 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.1248, allocations: 3.644 MB / 0.5945 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.1254, allocations: 222.9 kB / 0.5947 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.1257, allocations: 131.6 kB / 0.5948 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.126, allocations: 63.95 kB / 0.5949 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.126, allocations: 45.33 kB / 0.5949 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.126, allocations: 0 / 0.5949 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001194/0.1272, allocations: 429.5 kB / 0.5953 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1273, allocations: 55.41 kB / 0.5954 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.1287, allocations: 1.034 MB / 0.5964 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.1288, allocations: 37.7 kB / 0.5964 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.1294, allocations: 0.6159 MB / 0.597 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1296, allocations: 127.1 kB / 0.5971 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.1298, allocations: 147.9 kB / 0.5973 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003171/0.1301, allocations: 0.5121 MB / 0.5978 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.1304, allocations: 121.2 kB / 0.5979 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.1311, allocations: 0.5398 MB / 0.5984 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1322, allocations: 0.5173 MB / 0.5989 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.1322, allocations: 4 kB / 0.5989 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001175/0.1334, allocations: 0.5556 MB / 0.5995 GB, free: 148 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1334, allocations: 8 kB / 0.5995 GB, free: 140 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1334, allocations: 8 kB / 0.5995 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1334, allocations: 8 kB / 0.5995 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.1339, allocations: 123.8 kB / 0.5996 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.1339, allocations: 12.06 kB / 0.5996 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.1344, allocations: 63.53 kB / 0.5997 GB, free: 15.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.1344, allocations: 24 kB / 0.5997 GB, free: 15.9 MB / 0.573 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.0004752/0.1349, allocations: 308.4 kB / 0.6 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.1351, allocations: 103.3 kB / 0.6001 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009025/0.136, allocations: 400.4 kB / 0.6005 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.136, allocations: 4 kB / 0.6005 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.136, allocations: 0 / 0.6005 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006497/0.1367, allocations: 369.4 kB / 0.6008 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.1391, allocations: 1.356 MB / 0.6022 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1391, allocations: 4 kB / 0.6022 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.1394, allocations: 67.91 kB / 0.6022 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.1394, allocations: 4 kB / 0.6022 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1395, allocations: 11.98 kB / 0.6023 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.1395, allocations: 4 kB / 0.6023 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1395, allocations: 0 / 0.6023 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.1407, allocations: 0.7003 MB / 0.6029 GB, free: 12.44 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.1411, allocations: 139.2 kB / 0.6031 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.1412, allocations: 7.984 kB / 0.6031 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.1416, allocations: 19.98 kB / 0.6031 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.1416, allocations: 31.89 kB / 0.6031 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.1417, allocations: 19.98 kB / 0.6031 GB, free: 12.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009482/0.1426, allocations: 0.6239 MB / 0.6038 GB, free: 11.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1426, allocations: 0 / 0.6038 GB, free: 11.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001104/0.1437, allocations: 359 kB / 0.6041 GB, free: 11.26 MB / 0.573 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.0007086/0.1445, allocations: 388.2 kB / 0.6045 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008738/0.1453, allocations: 364.5 kB / 0.6048 GB, free: 10.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1453, allocations: 0 / 0.6048 GB, free: 10.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.1457, allocations: 164.5 kB / 0.605 GB, free: 10.36 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.1484, allocations: 0.4898 MB / 0.6055 GB, free: 9.895 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.1517, allocations: 1.523 MB / 0.6069 GB, free: 8.305 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.1522, allocations: 444.7 kB / 0.6074 GB, free: 7.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006636/0.1529, allocations: 171 kB / 0.6075 GB, free: 7.676 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1531, allocations: 72.48 kB / 0.6076 GB, free: 7.605 MB / 0.573 GB Notification: Performance of SimCode: time 1.482e-06/0.1531, allocations: 0 / 0.6076 GB, free: 7.605 MB / 0.573 GB Notification: Performance of Templates: time 0.03686/0.1899, allocations: 18.8 MB / 0.626 GB, free: 5.27 MB / 0.5886 GB " [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: 6.684543568990193]