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.007938/0.007938, allocations: 107.9 kB / 15.79 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 194.6 kB / 16.72 MB, free: 5.895 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.487/1.487, allocations: 207.6 MB / 225.1 MB, free: 4.168 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07376/0.07376, allocations: 11.08 MB / 286 MB, free: 7.305 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.002042/0.002042, allocations: 67.91 kB / 400.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 51.34 MB / 451.7 MB, free: 136 kB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_counterCurrent): time 0.002595/0.2735, allocations: 1.376 MB / 453.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.2741, allocations: 207.3 kB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2741, allocations: 1.375 kB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.2741, allocations: 0 / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.2742, allocations: 3.938 kB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2744, allocations: 53.56 kB / 453.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.2745, allocations: 21.55 kB / 453.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.2746, allocations: 6.75 kB / 453.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.2746, allocations: 14.52 kB / 453.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2747, allocations: 12.02 kB / 453.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2747, allocations: 1.344 kB / 453.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2748, allocations: 52.78 kB / 453.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.2748, allocations: 7.938 kB / 453.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.2749, allocations: 7.375 kB / 453.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.275, allocations: 53.95 kB / 453.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.275, allocations: 4 kB / 453.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.275, allocations: 1.688 kB / 453.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.275, allocations: 0 / 453.5 MB, free: 14.74 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.0005128/0.2755, allocations: 353.8 kB / 453.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2756, allocations: 9.406 kB / 453.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.2756, allocations: 31.72 kB / 453.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.2756, allocations: 6.016 kB / 453.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2758, allocations: 163 kB / 454.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2758, allocations: 8.312 kB / 454.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2758, allocations: 2.188 kB / 454.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.276, allocations: 50.36 kB / 454.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.276, allocations: 3.938 kB / 454.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.276, allocations: 4 kB / 454.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.276, allocations: 0 / 454.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.2762, allocations: 34.86 kB / 454.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.2766, allocations: 255.8 kB / 454.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2767, allocations: 46.17 kB / 454.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.2768, allocations: 22.41 kB / 454.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/0.2773, allocations: 190.9 kB / 454.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2773, allocations: 31.62 kB / 454.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2773, allocations: 0 / 454.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.2777, allocations: 85.03 kB / 454.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.2777, allocations: 60.56 kB / 454.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.2778, allocations: 104.4 kB / 454.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2778, allocations: 25.7 kB / 455 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2779, allocations: 85.45 kB / 455 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.2779, allocations: 3.953 kB / 455.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.2779, allocations: 12.59 kB / 455.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2781, allocations: 316.3 kB / 455.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.2782, allocations: 17.53 kB / 455.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.2782, allocations: 20.86 kB / 455.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2784, allocations: 34.95 kB / 455.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2784, allocations: 5.062 kB / 455.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.2786, allocations: 63.66 kB / 455.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2786, allocations: 9.375 kB / 455.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2786, allocations: 8.031 kB / 455.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2786, allocations: 1.344 kB / 455.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.2787, allocations: 9.891 kB / 455.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2787, allocations: 0 / 455.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.2787, allocations: 11.8 kB / 455.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2787, allocations: 1.469 kB / 455.6 MB, free: 12.66 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.079e-05/0.2788, allocations: 110.8 kB / 455.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.2788, allocations: 1.281 kB / 455.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.2791, allocations: 74.72 kB / 455.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2791, allocations: 1.406 kB / 455.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2791, allocations: 0 / 455.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2791, allocations: 0 / 455.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2793, allocations: 163.1 kB / 455.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2793, allocations: 0 / 455.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.2793, allocations: 9.5 kB / 455.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2793, allocations: 1.406 kB / 455.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2794, allocations: 4.031 kB / 455.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2794, allocations: 5.672 kB / 455.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2794, allocations: 0 / 455.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2796, allocations: 162.4 kB / 456.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.2797, allocations: 86.31 kB / 456.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2797, allocations: 1.562 kB / 456.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.2797, allocations: 7.25 kB / 456.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.2798, allocations: 13.47 kB / 456.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2798, allocations: 0 / 456.2 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.801e-05/0.2798, allocations: 83.5 kB / 456.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2798, allocations: 0 / 456.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.2801, allocations: 9.25 kB / 456.3 MB, free: 11.92 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.000617/0.2807, allocations: 0.7103 MB / 457 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.2809, allocations: 32.72 kB / 457 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2809, allocations: 0 / 457 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.2809, allocations: 27.25 kB / 457 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2813, allocations: 6.656 kB / 457 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.2817, allocations: 142.9 kB / 457.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2821, allocations: 0.6806 MB / 457.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.705e-05/0.2821, allocations: 5.281 kB / 457.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2821, allocations: 8.812 kB / 457.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2821, allocations: 0 / 457.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3053, allocations: 1.603 MB / 459.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.138, allocations: 9.125 kB / 459.5 MB, free: 9.391 MB / 334.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)