Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.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_coCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_coCurrent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_HeatTransfer_Functions_ExchangerEffectiveness_Tests_test_coCurrent",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.00787/0.00787, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001871/0.001871, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07199/0.07199, allocations: 10.98 MB / 280.9 MB, free: 10.12 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.002829/0.002829, allocations: 68.22 kB / 390 MB, free: 5.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3054, allocations: 48.75 MB / 438.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent): time 0.002351/0.3078, allocations: 1.359 MB / 440.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.3084, allocations: 263.3 kB / 440.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.3084, allocations: 0 / 440.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.3084, allocations: 5.188 kB / 440.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.3085, allocations: 4.469 kB / 440.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.3088, allocations: 63.48 kB / 440.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.3089, allocations: 25.45 kB / 440.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.3089, allocations: 2.938 kB / 440.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/0.309, allocations: 16.83 kB / 440.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.309, allocations: 10.33 kB / 440.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.309, allocations: 1.688 kB / 440.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3092, allocations: 73.14 kB / 440.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.3092, allocations: 2.594 kB / 440.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3093, allocations: 15.66 kB / 440.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3094, allocations: 68 kB / 440.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3095, allocations: 0.875 kB / 440.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3095, allocations: 0 / 440.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3095, allocations: 0 / 440.7 MB, free: 3.891 MB / 318.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.0003948/0.3099, allocations: 357 kB / 441 MB, free: 3.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3099, allocations: 9.656 kB / 441 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.393e-05/0.31, allocations: 31.88 kB / 441.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.31, allocations: 6.484 kB / 441.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.3101, allocations: 175.4 kB / 441.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3101, allocations: 2.031 kB / 441.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3101, allocations: 1.375 kB / 441.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3103, allocations: 49.03 kB / 441.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3103, allocations: 8.781 kB / 441.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3103, allocations: 0 / 441.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3103, allocations: 0.5 kB / 441.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.3105, allocations: 32.75 kB / 441.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.3109, allocations: 257.7 kB / 441.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.311, allocations: 53.02 kB / 441.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.3111, allocations: 23.42 kB / 441.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3113, allocations: 85.2 kB / 441.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.3113, allocations: 32.23 kB / 441.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3113, allocations: 0 / 441.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003528/0.3116, allocations: 88.77 kB / 441.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.3117, allocations: 56.75 kB / 441.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.3117, allocations: 98.34 kB / 442 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.3118, allocations: 26.31 kB / 442 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.3118, allocations: 85.77 kB / 442.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3118, allocations: 9.766 kB / 442.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3118, allocations: 12.92 kB / 442.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.3119, allocations: 321.3 kB / 442.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.312, allocations: 13.94 kB / 442.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.3121, allocations: 18.7 kB / 442.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3122, allocations: 36.97 kB / 442.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3123, allocations: 8 kB / 442.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.3124, allocations: 66.39 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3125, allocations: 9.844 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.3125, allocations: 0 / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3125, allocations: 1.375 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.714e-05/0.3126, allocations: 9.016 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3126, allocations: 1.406 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.3126, allocations: 8.812 kB / 442.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.3127, allocations: 6.141 kB / 442.6 MB, free: 2.02 MB / 318.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 4.372e-05/0.3127, allocations: 111.8 kB / 442.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3127, allocations: 1.406 kB / 442.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.313, allocations: 71.7 kB / 442.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.313, allocations: 1.688 kB / 442.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.313, allocations: 0 / 442.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.313, allocations: 0.7969 kB / 442.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.3131, allocations: 167.2 kB / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3131, allocations: 0 / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3132, allocations: 9.297 kB / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3132, allocations: 1.719 kB / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3132, allocations: 0 / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3132, allocations: 5.375 kB / 443 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3132, allocations: 4.734 kB / 443 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3134, allocations: 169.6 kB / 443.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3135, allocations: 79.48 kB / 443.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3135, allocations: 0.7031 kB / 443.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.3136, allocations: 6.156 kB / 443.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3136, allocations: 2.828 kB / 443.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3136, allocations: 1.281 kB / 443.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.3136, allocations: 84.81 kB / 443.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3136, allocations: 4.031 kB / 443.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3139, allocations: 10.77 kB / 443.4 MB, free: 1.32 MB / 318.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.000372/0.3143, allocations: 0.6959 MB / 444.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3145, allocations: 40.44 kB / 444.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3145, allocations: 0 / 444.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.3146, allocations: 21.28 kB / 444.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3149, allocations: 10.06 kB / 444.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3153, allocations: 135.2 kB / 444.3 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3155, allocations: 0.684 MB / 444.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.3156, allocations: 5.281 kB / 444.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3156, allocations: 9.609 kB / 445 MB, free: 15.77 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3156, allocations: 0 / 445 MB, free: 15.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.3329, allocations: 1.443 MB / 446.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.326, allocations: 13.73 kB / 446.4 MB, free: 15.3 MB / 334.1 MB (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent_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_coCurrent.fmu > TAeZoSysPro_TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent.pipe 2>&1)