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.0009503/0.0009503, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001473/0.001473, allocations: 173 kB / 23.49 MB, free: 1.055 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.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.783/0.783, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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 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.603e-06/1.603e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.574e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0312/0.03123, allocations: 43.19 MB / 0.5625 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.04471, allocations: 10.67 MB / 0.5729 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.04673, allocations: 80.16 kB / 0.573 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.0485, allocations: 0.6449 MB / 0.5737 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.05298, allocations: 2.06 MB / 0.5757 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.05548, allocations: 1.281 MB / 0.5769 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004274/0.05975, allocations: 3.478 MB / 0.5803 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.061, allocations: 0.8499 MB / 0.5811 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.0644, allocations: 1.914 MB / 0.583 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.06557, allocations: 0.7944 MB / 0.5838 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.06574, allocations: 103.9 kB / 0.5839 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.06732, allocations: 0.7247 MB / 0.5846 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.06758, allocations: 306.7 kB / 0.5849 GB, free: 412 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.0681, allocations: 443 kB / 0.5853 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.0703, allocations: 1.374 MB / 0.5867 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.07031, allocations: 4 kB / 0.5867 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.263e-06/0.07031, allocations: 0 / 0.5867 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.07033, allocations: 0 / 0.5867 GB, free: 14.59 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.002187/0.07252, allocations: 1.565 MB / 0.5882 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.07256, allocations: 8.031 kB / 0.5882 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.07299, allocations: 211.9 kB / 0.5884 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.07479, allocations: 1.058 MB / 0.5894 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.07484, allocations: 54.38 kB / 0.5895 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.07494, allocations: 87.84 kB / 0.5896 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.07604, allocations: 0.7441 MB / 0.5903 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.07607, allocations: 3.953 kB / 0.5903 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.07613, allocations: 28 kB / 0.5903 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.07617, allocations: 27.94 kB / 0.5903 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.07672, allocations: 247.6 kB / 0.5906 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.07958, allocations: 2.935 MB / 0.5934 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.07992, allocations: 158.9 kB / 0.5936 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.08028, allocations: 71.66 kB / 0.5937 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.08046, allocations: 63.89 kB / 0.5937 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.08049, allocations: 41.39 kB / 0.5938 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.08049, allocations: 0 / 0.5938 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.0005699/0.08106, allocations: 293.6 kB / 0.594 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.08109, allocations: 51.41 kB / 0.5941 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.08187, allocations: 0.7571 MB / 0.5948 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.0819, allocations: 37.7 kB / 0.5949 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.08224, allocations: 0.5612 MB / 0.5954 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.08233, allocations: 119 kB / 0.5955 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.08247, allocations: 123.9 kB / 0.5957 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.0826, allocations: 0.4965 MB / 0.5961 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.08274, allocations: 57.28 kB / 0.5962 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.08307, allocations: 476.8 kB / 0.5966 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.0835, allocations: 397.6 kB / 0.597 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.08351, allocations: 4 kB / 0.597 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006599/0.08417, allocations: 452.4 kB / 0.5975 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.08419, allocations: 8 kB / 0.5975 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.0842, allocations: 4 kB / 0.5975 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.08422, allocations: 8 kB / 0.5975 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.08455, allocations: 124.4 kB / 0.5976 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.08456, allocations: 12 kB / 0.5976 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.08489, allocations: 59.72 kB / 0.5977 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.08493, allocations: 28 kB / 0.5977 GB, free: 2.691 MB / 0.5573 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.0001981/0.08513, allocations: 188.4 kB / 0.5979 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.08527, allocations: 107.3 kB / 0.598 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.08577, allocations: 308.2 kB / 0.5983 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.08578, allocations: 7.938 kB / 0.5983 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.08579, allocations: 0 / 0.5983 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003125/0.0861, allocations: 285.6 kB / 0.5985 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.08737, allocations: 1.044 MB / 0.5996 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.08738, allocations: 0 / 0.5996 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.0876, allocations: 67.91 kB / 0.5996 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.08761, allocations: 7.984 kB / 0.5996 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.08763, allocations: 8 kB / 0.5996 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.08763, allocations: 4 kB / 0.5997 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.08763, allocations: 160 / 0.5997 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.08826, allocations: 0.5441 MB / 0.6002 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.08846, allocations: 131.3 kB / 0.6003 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.08853, allocations: 11.98 kB / 0.6003 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.08881, allocations: 19.98 kB / 0.6003 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.08888, allocations: 31.89 kB / 0.6004 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/0.08913, allocations: 19.98 kB / 0.6004 GB, free: 15.77 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004921/0.08962, allocations: 482.9 kB / 0.6008 GB, free: 15.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.08962, allocations: 0 / 0.6008 GB, free: 15.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008326/0.09046, allocations: 367 kB / 0.6012 GB, free: 14.95 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.0005384/0.09099, allocations: 377.2 kB / 0.6016 GB, free: 14.58 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.09142, allocations: 248.5 kB / 0.6018 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.09143, allocations: 4 kB / 0.6018 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.09159, allocations: 108.6 kB / 0.6019 GB, free: 14.22 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.0931, allocations: 0.4906 MB / 0.6024 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.09526, allocations: 1.449 MB / 0.6038 GB, free: 12.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.09541, allocations: 199 kB / 0.604 GB, free: 12.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.09586, allocations: 163.4 kB / 0.6041 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.09598, allocations: 72.48 kB / 0.6042 GB, free: 11.81 MB / 0.573 GB Notification: Performance of SimCode: time 8.01e-07/0.09599, allocations: 4 kB / 0.6042 GB, free: 11.8 MB / 0.573 GB Notification: Performance of Templates: time 0.02612/0.1221, allocations: 18.81 MB / 0.6226 GB, free: 9.445 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: 4.2170720039866865]