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.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 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.001612/0.001612, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06509/0.06509, allocations: 10.97 MB / 280.7 MB, free: 10.25 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.001537/0.001537, allocations: 67.91 kB / 340.6 MB, free: 22.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07562, allocations: 48.74 MB / 389.4 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002604/0.07828, allocations: 1.37 MB / 390.7 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.07879, allocations: 207.3 kB / 390.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.07884, allocations: 3.938 kB / 390.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.07887, allocations: 0 / 390.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.07892, allocations: 7.938 kB / 390.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.07916, allocations: 47.81 kB / 391 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.07923, allocations: 23.94 kB / 391 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.07928, allocations: 3.984 kB / 391 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/0.07932, allocations: 11.94 kB / 391 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.07936, allocations: 11.97 kB / 391 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.07938, allocations: 4 kB / 391 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.07954, allocations: 51.95 kB / 391.1 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.07956, allocations: 3.938 kB / 391.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.0796, allocations: 15.92 kB / 391.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.07973, allocations: 56.14 kB / 391.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.07974, allocations: 0 / 391.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07974, allocations: 0 / 391.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.07975, allocations: 0 / 391.2 MB, free: 4.129 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.0004083/0.08016, allocations: 347.4 kB / 391.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.08021, allocations: 12.03 kB / 391.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.08025, allocations: 30.75 kB / 391.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.08027, allocations: 4.844 kB / 391.6 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.08038, allocations: 180.3 kB / 391.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.0804, allocations: 4.375 kB / 391.7 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.08041, allocations: 384 / 391.7 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.08059, allocations: 50.23 kB / 391.8 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.08061, allocations: 7.875 kB / 391.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.08062, allocations: 0 / 391.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.08063, allocations: 0 / 391.8 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.08079, allocations: 35.95 kB / 391.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.08125, allocations: 261 kB / 392.1 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.0814, allocations: 38.5 kB / 392.1 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.0815, allocations: 16.91 kB / 392.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.08192, allocations: 186.2 kB / 392.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.08195, allocations: 42.5 kB / 392.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.08196, allocations: 0 / 392.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.08231, allocations: 85.48 kB / 392.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.08236, allocations: 55.53 kB / 392.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/0.08244, allocations: 101.8 kB / 392.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.08246, allocations: 25.7 kB / 392.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.08251, allocations: 84.14 kB / 392.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.08253, allocations: 7.906 kB / 392.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.08256, allocations: 9.719 kB / 392.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.08269, allocations: 318.8 kB / 393 MB, free: 2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.08278, allocations: 15.98 kB / 393 MB, free: 1.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.08286, allocations: 19.92 kB / 393.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.08302, allocations: 40.81 kB / 393.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.08303, allocations: 3.938 kB / 393.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001998/0.08324, allocations: 61.67 kB / 393.2 MB, free: 1.852 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.08326, allocations: 8.094 kB / 393.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.08327, allocations: 0 / 393.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.08329, allocations: 0 / 393.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.08337, allocations: 11.98 kB / 393.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.08339, allocations: 4.188 kB / 393.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.08344, allocations: 11.98 kB / 393.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.08345, allocations: 4 kB / 393.2 MB, free: 1.812 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 6.794e-05/0.08353, allocations: 117.7 kB / 393.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.08356, allocations: 4 kB / 393.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.0838, allocations: 68.78 kB / 393.4 MB, free: 1.609 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.08382, allocations: 4 kB / 393.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.08383, allocations: 0 / 393.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08383, allocations: 0 / 393.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.08401, allocations: 161.6 kB / 393.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.08402, allocations: 0 / 393.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.08408, allocations: 11.98 kB / 393.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.08409, allocations: 4.031 kB / 393.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.0841, allocations: 0 / 393.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.08411, allocations: 0 / 393.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.08411, allocations: 0 / 393.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.08435, allocations: 167.3 kB / 393.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.0844, allocations: 77.11 kB / 393.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.08442, allocations: 4.031 kB / 393.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.0845, allocations: 11.98 kB / 393.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.08454, allocations: 7.938 kB / 393.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.08455, allocations: 0 / 393.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.08459, allocations: 79.28 kB / 393.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0846, allocations: 0 / 393.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.08483, allocations: 8 kB / 393.9 MB, free: 1 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.0005637/0.0854, allocations: 0.7122 MB / 394.6 MB, free: 268 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.08563, allocations: 39.95 kB / 394.7 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.08564, allocations: 0 / 394.7 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.08574, allocations: 24.08 kB / 394.7 MB, free: 204 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.08602, allocations: 11.25 kB / 394.7 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.08644, allocations: 155.5 kB / 394.9 MB, free: 0 / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.08672, allocations: 0.6768 MB / 395.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.51e-05/0.08676, allocations: 7.938 kB / 395.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.08679, allocations: 15.48 kB / 395.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.0868, allocations: 0 / 395.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1045, allocations: 1.573 MB / 397.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/7.293, allocations: 15.81 kB / 397.1 MB, free: 13.76 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)