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.004925/0.004931, allocations: 99.56 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.001298/0.001298, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.321/1.321, 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.06939/0.06939, allocations: 10.98 MB / 280.9 MB, free: 10.13 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.002004/0.002004, allocations: 76.27 kB / 390 MB, free: 5.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2232, allocations: 48.75 MB / 438.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Functions.ExchangerEffectiveness.Tests.test_coCurrent): time 0.002355/0.2256, allocations: 1.373 MB / 440.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000542/0.2261, allocations: 261.9 kB / 440.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.2262, allocations: 4.5 kB / 440.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.2262, allocations: 0 / 440.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.2263, allocations: 9.906 kB / 440.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2266, allocations: 62.91 kB / 440.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.2267, allocations: 20.91 kB / 440.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.2267, allocations: 6.719 kB / 440.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.2268, allocations: 10.16 kB / 440.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.2268, allocations: 14.31 kB / 440.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2269, allocations: 2.25 kB / 440.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.227, allocations: 68.88 kB / 440.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2271, allocations: 4.703 kB / 440.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.2271, allocations: 17.02 kB / 440.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2273, allocations: 71.88 kB / 440.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2273, allocations: 0 / 440.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2273, allocations: 0 / 440.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.2273, allocations: 0.5938 kB / 440.7 MB, free: 3.883 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.0003662/0.2277, allocations: 352.2 kB / 441 MB, free: 3.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2277, allocations: 9.875 kB / 441 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.2278, allocations: 31.89 kB / 441.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2278, allocations: 11.23 kB / 441.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.2279, allocations: 163.4 kB / 441.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2279, allocations: 0.875 kB / 441.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.2279, allocations: 1.562 kB / 441.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2281, allocations: 49.53 kB / 441.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2281, allocations: 3.938 kB / 441.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.2281, allocations: 0.6875 kB / 441.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2281, allocations: 0.5312 kB / 441.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.2283, allocations: 40.97 kB / 441.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.2286, allocations: 262 kB / 441.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2287, allocations: 40.72 kB / 441.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.2288, allocations: 23.72 kB / 441.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.229, allocations: 89.62 kB / 441.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.229, allocations: 31.81 kB / 441.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.229, allocations: 0 / 441.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.2293, allocations: 92.55 kB / 441.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.2294, allocations: 52.78 kB / 441.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.2294, allocations: 106.5 kB / 442 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.2294, allocations: 25.7 kB / 442.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.016e-05/0.2295, allocations: 82.17 kB / 442.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2295, allocations: 6.047 kB / 442.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.2295, allocations: 17.2 kB / 442.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.2296, allocations: 316.1 kB / 442.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.2296, allocations: 14.59 kB / 442.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.2297, allocations: 22.02 kB / 442.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2299, allocations: 41.86 kB / 442.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2299, allocations: 3.938 kB / 442.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.2301, allocations: 67.48 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2301, allocations: 4.797 kB / 442.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2301, allocations: 5.219 kB / 442.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2301, allocations: 0.7031 kB / 442.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.2302, allocations: 8.609 kB / 442.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2302, allocations: 1.469 kB / 442.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.2302, allocations: 9.125 kB / 442.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2303, allocations: 1.531 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.884e-05/0.2303, allocations: 116.4 kB / 442.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2303, allocations: 2.047 kB / 442.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.2306, allocations: 73.98 kB / 442.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2306, allocations: 1.188 kB / 442.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2306, allocations: 0.7969 kB / 442.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.2306, allocations: 1.188 kB / 442.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2307, allocations: 159.4 kB / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2307, allocations: 0 / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.2308, allocations: 10.45 kB / 443 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2308, allocations: 4.031 kB / 443 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2308, allocations: 0 / 443 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2308, allocations: 1.859 kB / 443 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2308, allocations: 0 / 443 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.231, allocations: 169.9 kB / 443.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.231, allocations: 79.19 kB / 443.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.231, allocations: 9.859 kB / 443.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.2311, allocations: 5.469 kB / 443.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.2312, allocations: 2.594 kB / 443.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2312, allocations: 1.375 kB / 443.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.187e-05/0.2312, allocations: 84.77 kB / 443.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 443.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000219/0.2314, allocations: 6.156 kB / 443.4 MB, free: 1.324 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.0003525/0.2318, allocations: 0.7022 MB / 444.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.232, allocations: 38.92 kB / 444.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.232, allocations: 0 / 444.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.2321, allocations: 25.2 kB / 444.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2324, allocations: 2.922 kB / 444.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2327, allocations: 134.9 kB / 444.3 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2329, allocations: 0.6799 MB / 444.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.2329, allocations: 5.281 kB / 444.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.233, allocations: 13.33 kB / 445 MB, free: 15.77 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.233, allocations: 4.062 kB / 445 MB, free: 15.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.2538, allocations: 1.449 MB / 446.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.656, allocations: 12.92 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)