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.001385/0.001385, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001918/0.001918, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.57/1.57, allocations: 207.6 MB / 233 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.07033/0.07033, allocations: 11.05 MB / 296.3 MB, free: 10.82 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.002152/0.002152, allocations: 72.45 kB / 414.2 MB, free: 44.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09965, allocations: 51.39 MB / 465.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.003447/0.1031, allocations: 1.377 MB / 467 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.1037, allocations: 219.2 kB / 467.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.1038, allocations: 0 / 467.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.1038, allocations: 0 / 467.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.1038, allocations: 7.922 kB / 467.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1041, allocations: 55.81 kB / 467.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.1042, allocations: 19.92 kB / 467.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.1042, allocations: 4 kB / 467.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.1043, allocations: 11.94 kB / 467.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.1043, allocations: 11.98 kB / 467.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1043, allocations: 4 kB / 467.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1045, allocations: 51.94 kB / 467.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1045, allocations: 7.938 kB / 467.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1045, allocations: 15.92 kB / 467.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1047, allocations: 43.92 kB / 467.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1047, allocations: 4 kB / 467.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1047, allocations: 0 / 467.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1047, allocations: 0 / 467.5 MB, free: 7.09 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.0004906/0.1052, allocations: 278.2 kB / 467.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1052, allocations: 8.031 kB / 467.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1053, allocations: 30.75 kB / 467.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1053, allocations: 8.891 kB / 467.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1054, allocations: 102.5 kB / 467.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1055, allocations: 4.375 kB / 467.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1055, allocations: 8.375 kB / 467.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1057, allocations: 50.17 kB / 467.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1057, allocations: 3.938 kB / 467.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1057, allocations: 8 kB / 468 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1057, allocations: 7.922 kB / 468 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1058, allocations: 31.95 kB / 468 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1063, allocations: 228 kB / 468.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1064, allocations: 42.48 kB / 468.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.1065, allocations: 28.84 kB / 468.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.1069, allocations: 27.95 kB / 468.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1069, allocations: 30.56 kB / 468.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1069, allocations: 0 / 468.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003676/0.1073, allocations: 89.59 kB / 468.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1073, allocations: 51.41 kB / 468.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.1074, allocations: 101.9 kB / 468.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1074, allocations: 25.7 kB / 468.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1075, allocations: 84.12 kB / 468.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1075, allocations: 15.94 kB / 468.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1075, allocations: 13.84 kB / 468.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1077, allocations: 310.8 kB / 469 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.1078, allocations: 23.92 kB / 469 MB, free: 5.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1078, allocations: 15.97 kB / 469.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.108, allocations: 36.89 kB / 469.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.108, allocations: 7.938 kB / 469.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000175/0.1082, allocations: 65.66 kB / 469.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1082, allocations: 4 kB / 469.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1082, allocations: 0 / 469.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1082, allocations: 0 / 469.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.1083, allocations: 11.98 kB / 469.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1083, allocations: 3.938 kB / 469.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1083, allocations: 15.97 kB / 469.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.1083, allocations: 0 / 469.2 MB, free: 5.152 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 9.913e-05/0.1084, allocations: 117.8 kB / 469.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1084, allocations: 4 kB / 469.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1087, allocations: 72.92 kB / 469.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1087, allocations: 0 / 469.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1087, allocations: 0 / 469.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1087, allocations: 4.031 kB / 469.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1088, allocations: 132.7 kB / 469.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1088, allocations: 0 / 469.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1089, allocations: 7.984 kB / 469.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1089, allocations: 3.938 kB / 469.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.1089, allocations: 4.25 kB / 469.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1089, allocations: 4 kB / 469.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1089, allocations: 0 / 469.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1091, allocations: 171.3 kB / 469.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.1092, allocations: 0 / 469.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1092, allocations: 3.984 kB / 469.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.1092, allocations: 8 kB / 469.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1093, allocations: 4 kB / 469.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1093, allocations: 3.984 kB / 469.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.1093, allocations: 79.28 kB / 469.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1093, allocations: 4.031 kB / 469.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1096, allocations: 11.94 kB / 469.8 MB, free: 4.457 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.0006238/0.1102, allocations: 0.7006 MB / 470.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1104, allocations: 36 kB / 470.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1104, allocations: 4 kB / 470.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.1105, allocations: 19.97 kB / 470.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1108, allocations: 4 kB / 470.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1112, allocations: 143.9 kB / 470.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1116, allocations: 0.6846 MB / 471.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.086e-05/0.1116, allocations: 3.938 kB / 471.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1116, allocations: 11.44 kB / 471.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1116, allocations: 0 / 471.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.1419, allocations: 1.707 MB / 473.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.45, allocations: 3.859 kB / 473.1 MB, free: 1.082 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_counterCurrent_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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: 14.318351361900568] Failed to read output from testmodel.py, exit status != 0: 11.553667675936595 11.579449353 11.470539336 Calling exit ...