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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108 kB / 15.63 MB, free: 112 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 195 kB / 16.55 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0695/0.0695, allocations: 10.98 MB / 280.8 MB, free: 10.23 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002128, allocations: 67.91 kB / 340.7 MB, free: 22.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 48.74 MB / 389.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002962/0.1141, allocations: 1.37 MB / 390.8 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.1146, allocations: 211.2 kB / 391 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1147, allocations: 0 / 391 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.1147, allocations: 0 / 391 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.1148, allocations: 3.938 kB / 391 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1151, allocations: 51.81 kB / 391 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.1152, allocations: 23.92 kB / 391.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.1152, allocations: 8 kB / 391.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.1153, allocations: 7.922 kB / 391.1 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.1153, allocations: 8 kB / 391.1 MB, free: 4.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1154, allocations: 7.984 kB / 391.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1155, allocations: 51.94 kB / 391.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1155, allocations: 7.938 kB / 391.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1156, allocations: 7.938 kB / 391.2 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1157, allocations: 56.14 kB / 391.2 MB, free: 4.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1158, allocations: 0 / 391.2 MB, free: 4.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1158, allocations: 8 kB / 391.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1158, allocations: 0 / 391.2 MB, free: 4.059 MB / 286.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.0005292/0.1163, allocations: 343.4 kB / 391.6 MB, free: 3.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1164, allocations: 12.03 kB / 391.6 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.1164, allocations: 34.73 kB / 391.6 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1164, allocations: 4.844 kB / 391.6 MB, free: 3.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1166, allocations: 168.3 kB / 391.8 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1166, allocations: 4.312 kB / 391.8 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1166, allocations: 4.375 kB / 391.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1168, allocations: 50.23 kB / 391.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1168, allocations: 7.922 kB / 391.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1168, allocations: 0 / 391.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1169, allocations: 3.938 kB / 391.8 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.117, allocations: 35.95 kB / 391.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1174, allocations: 261 kB / 392.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1176, allocations: 46.42 kB / 392.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.1177, allocations: 20.91 kB / 392.2 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.1181, allocations: 186.2 kB / 392.4 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1182, allocations: 34.56 kB / 392.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1182, allocations: 0 / 392.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.1185, allocations: 85.55 kB / 392.5 MB, free: 2.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.1186, allocations: 55.34 kB / 392.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.1187, allocations: 97.86 kB / 392.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1187, allocations: 29.83 kB / 392.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.1188, allocations: 88.12 kB / 392.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1188, allocations: 3.906 kB / 392.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1188, allocations: 17.72 kB / 392.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1189, allocations: 310.8 kB / 393.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.119, allocations: 11.98 kB / 393.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.1191, allocations: 23.97 kB / 393.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1192, allocations: 36.89 kB / 393.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1192, allocations: 3.938 kB / 393.2 MB, free: 1.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/0.1194, allocations: 65.66 kB / 393.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1195, allocations: 4 kB / 393.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1195, allocations: 7.875 kB / 393.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1195, allocations: 8.031 kB / 393.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.1196, allocations: 7.984 kB / 393.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1196, allocations: 0 / 393.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.1196, allocations: 4 kB / 393.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1196, allocations: 256 / 393.3 MB, free: 1.75 MB / 286.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.935e-05/0.1197, allocations: 121.8 kB / 393.4 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1198, allocations: 0 / 393.4 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.12, allocations: 72.78 kB / 393.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.12, allocations: 0 / 393.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.12, allocations: 4 kB / 393.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.12, allocations: 0 / 393.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1202, allocations: 157.6 kB / 393.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1202, allocations: 0 / 393.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.1203, allocations: 15.92 kB / 393.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1203, allocations: 3.938 kB / 393.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1203, allocations: 0 / 393.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1203, allocations: 0 / 393.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1203, allocations: 4.031 kB / 393.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1206, allocations: 167.4 kB / 393.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.1206, allocations: 77.11 kB / 393.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1206, allocations: 7.984 kB / 393.9 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1207, allocations: 0 / 393.9 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1208, allocations: 8.031 kB / 393.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.1208, allocations: 3.984 kB / 393.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.1208, allocations: 83.28 kB / 394 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1208, allocations: 0 / 394 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.121, allocations: 8 kB / 394 MB, free: 0.9297 MB / 286.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.0005572/0.1216, allocations: 0.7124 MB / 394.7 MB, free: 192 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1218, allocations: 31.97 kB / 394.7 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1218, allocations: 0 / 394.7 MB, free: 160 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.1219, allocations: 23.92 kB / 394.7 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1223, allocations: 19.58 kB / 394.8 MB, free: 120 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.1227, allocations: 147.5 kB / 394.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.123, allocations: 0.6768 MB / 395.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1231, allocations: 0 / 395.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1231, allocations: 15.44 kB / 395.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1231, allocations: 0 / 395.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1426, allocations: 1.59 MB / 397.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.334/6.477, allocations: 7.875 kB / 397.2 MB, free: 13.7 MB / 302.1 MB (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 --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)