Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.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.001264/0.001264, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001498/0.001498, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06705/0.06705, allocations: 11.06 MB / 296.4 MB, free: 10.53 MB / 238.1 MB " [Timeout remaining time 180] Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 79.88 kB / 414.2 MB, free: 44.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07473/0.0768, allocations: 51.38 MB / 465.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002502/0.0793, allocations: 1.369 MB / 467 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005475/0.07985, allocations: 195.4 kB / 467.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.07988, allocations: 4 kB / 467.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.07992, allocations: 3.938 kB / 467.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.07996, allocations: 3.938 kB / 467.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.08022, allocations: 43.88 kB / 467.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.08029, allocations: 31.86 kB / 467.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.08034, allocations: 0 / 467.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.08039, allocations: 11.98 kB / 467.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.08043, allocations: 15.92 kB / 467.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.08045, allocations: 4 kB / 467.3 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.08058, allocations: 47.95 kB / 467.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.0806, allocations: 4 kB / 467.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.08062, allocations: 11.86 kB / 467.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.08076, allocations: 51.86 kB / 467.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.08076, allocations: 3.938 kB / 467.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.08076, allocations: 0 / 467.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.08077, allocations: 0 / 467.4 MB, free: 6.918 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004328/0.0812, allocations: 274.2 kB / 467.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.08124, allocations: 12.03 kB / 467.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.08128, allocations: 34.75 kB / 467.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.0813, allocations: 4.891 kB / 467.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.08142, allocations: 110.5 kB / 467.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.08143, allocations: 384 / 467.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.08144, allocations: 4.375 kB / 467.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.0816, allocations: 50.22 kB / 467.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.08161, allocations: 7.938 kB / 467.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.08162, allocations: 4 kB / 467.9 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.08163, allocations: 0 / 467.9 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.08178, allocations: 35.89 kB / 468 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.08217, allocations: 228 kB / 468.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.08229, allocations: 38.5 kB / 468.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.08237, allocations: 20.91 kB / 468.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.0827, allocations: 35.95 kB / 468.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.08272, allocations: 34.56 kB / 468.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.08272, allocations: 0 / 468.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003462/0.08307, allocations: 85.53 kB / 468.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.08311, allocations: 51.41 kB / 468.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.08319, allocations: 106 kB / 468.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.0832, allocations: 25.7 kB / 468.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.08326, allocations: 88.14 kB / 468.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.08327, allocations: 3.953 kB / 468.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.0833, allocations: 13.72 kB / 468.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.08343, allocations: 322.8 kB / 469 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.08351, allocations: 11.98 kB / 469 MB, free: 5.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.08358, allocations: 19.98 kB / 469 MB, free: 5.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.08372, allocations: 44.81 kB / 469.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.08372, allocations: 3.938 kB / 469.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.08389, allocations: 61.67 kB / 469.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.0839, allocations: 4 kB / 469.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.0839, allocations: 4 kB / 469.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.08392, allocations: 0 / 469.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.08399, allocations: 7.984 kB / 469.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.08399, allocations: 4.031 kB / 469.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.08404, allocations: 7.984 kB / 469.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.08404, allocations: 4 kB / 469.2 MB, free: 4.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.521e-05/0.08412, allocations: 113.8 kB / 469.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.08414, allocations: 3.938 kB / 469.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.08435, allocations: 80.86 kB / 469.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.08435, allocations: 0 / 469.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.08436, allocations: 4.281 kB / 469.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.08436, allocations: 0 / 469.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.08451, allocations: 136.7 kB / 469.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.08451, allocations: 0 / 469.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.08456, allocations: 7.984 kB / 469.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.08456, allocations: 0 / 469.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.08457, allocations: 0 / 469.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.08457, allocations: 4 kB / 469.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.08457, allocations: 0 / 469.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.0848, allocations: 171.3 kB / 469.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.08481, allocations: 4 kB / 469.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.08482, allocations: 0 / 469.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.08489, allocations: 7.984 kB / 469.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.08493, allocations: 4 kB / 469.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.08493, allocations: 0 / 469.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.39e-05/0.08497, allocations: 87.27 kB / 469.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08497, allocations: 0 / 469.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000215/0.08519, allocations: 11.94 kB / 469.8 MB, free: 4.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005598/0.08575, allocations: 0.7085 MB / 470.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.08594, allocations: 35.91 kB / 470.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08594, allocations: 0 / 470.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.08601, allocations: 15.98 kB / 470.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.08628, allocations: 5.859 kB / 470.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.08669, allocations: 151.9 kB / 470.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.08675, allocations: 63.34 kB / 470.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.08677, allocations: 3.938 kB / 470.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.0868, allocations: 7.438 kB / 470.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.0868, allocations: 0 / 470.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.1133, allocations: 2.145 MB / 472.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.66, allocations: 11.98 kB / 472.9 MB, free: 1.094 MB / 334.1 MB " [Timeout remaining time 649] (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent.fmu > TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.11584822833538] Failed to read output from testmodel.py, exit status != 0: 10.759733447805047 10.775035538000001 10.691412304 Calling exit ...