Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) 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_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",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.001769/0.001769, allocations: 108 kB / 15.61 MB, free: 152 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.001793/0.001792, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06807/0.06807, allocations: 10.97 MB / 280.7 MB, free: 10.22 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01786/0.01786, allocations: 4.239 MB / 334.4 MB, free: 29.11 MB / 254.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.001486/0.001486, allocations: 63.91 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 49.73 MB / 446.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter): time 0.002241/0.2481, allocations: 1.359 MB / 447.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.2486, allocations: 249.3 kB / 448 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.2486, allocations: 0 / 448 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.2487, allocations: 1 kB / 448 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.2487, allocations: 7.922 kB / 448 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2489, allocations: 54.12 kB / 448.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.249, allocations: 21.86 kB / 448.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.249, allocations: 2.188 kB / 448.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.2491, allocations: 11.34 kB / 448.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.386e-05/0.2491, allocations: 11.3 kB / 448.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2491, allocations: 6.312 kB / 448.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2493, allocations: 51.91 kB / 448.2 MB, free: 46.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.2493, allocations: 7.938 kB / 448.2 MB, free: 46.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.2493, allocations: 7.266 kB / 448.2 MB, free: 46.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.2495, allocations: 58.89 kB / 448.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2495, allocations: 0 / 448.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2495, allocations: 0 / 448.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2495, allocations: 0.875 kB / 448.3 MB, free: 46.46 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.0004211/0.2499, allocations: 346.9 kB / 448.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.25, allocations: 8.75 kB / 448.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.25, allocations: 35.78 kB / 448.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.25, allocations: 2.062 kB / 448.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.2501, allocations: 170.5 kB / 448.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2502, allocations: 1.438 kB / 448.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.2502, allocations: 1.531 kB / 448.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2503, allocations: 53.36 kB / 448.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2504, allocations: 3.938 kB / 448.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2504, allocations: 5.219 kB / 448.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2504, allocations: 0 / 448.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.2506, allocations: 38.58 kB / 448.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.2509, allocations: 255.5 kB / 449.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.251, allocations: 43.72 kB / 449.2 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.2511, allocations: 26.47 kB / 449.2 MB, free: 45.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/0.2514, allocations: 178.4 kB / 449.4 MB, free: 45.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2515, allocations: 31.56 kB / 449.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2515, allocations: 0 / 449.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.2518, allocations: 80.83 kB / 449.5 MB, free: 45.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.2518, allocations: 56.56 kB / 449.6 MB, free: 45.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.2519, allocations: 99.53 kB / 449.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.2519, allocations: 26.64 kB / 449.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.2519, allocations: 85.08 kB / 449.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.2519, allocations: 5.094 kB / 449.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.252, allocations: 16.47 kB / 449.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.252, allocations: 320.4 kB / 450.1 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.2521, allocations: 16.27 kB / 450.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.2522, allocations: 17.73 kB / 450.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2523, allocations: 35.61 kB / 450.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2523, allocations: 8 kB / 450.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.2525, allocations: 68.25 kB / 450.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2525, allocations: 5.406 kB / 450.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2525, allocations: 0 / 450.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2526, allocations: 0 / 450.2 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.2526, allocations: 10.89 kB / 450.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2527, allocations: 0 / 450.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.2527, allocations: 11.73 kB / 450.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2527, allocations: 13.38 kB / 450.3 MB, free: 44.38 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 3.866e-05/0.2528, allocations: 115.2 kB / 450.4 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2528, allocations: 1.281 kB / 450.4 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.253, allocations: 70.97 kB / 450.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.253, allocations: 0.875 kB / 450.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.253, allocations: 0 / 450.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.253, allocations: 4.031 kB / 450.5 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2531, allocations: 166.2 kB / 450.6 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2531, allocations: 1.094 kB / 450.6 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.2532, allocations: 5.438 kB / 450.6 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2532, allocations: 5.203 kB / 450.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2532, allocations: 0 / 450.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2532, allocations: 1.5 kB / 450.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2532, allocations: 0 / 450.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2534, allocations: 170.6 kB / 450.8 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.2535, allocations: 82.39 kB / 450.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2535, allocations: 5.188 kB / 450.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.2536, allocations: 7.234 kB / 450.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.2536, allocations: 1.094 kB / 450.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2536, allocations: 1.062 kB / 450.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.29e-05/0.2536, allocations: 82.66 kB / 451 MB, free: 43.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2536, allocations: 5.094 kB / 451 MB, free: 43.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.2539, allocations: 12.16 kB / 451 MB, free: 43.64 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.0003705/0.2542, allocations: 0.7024 MB / 451.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.2545, allocations: 41.23 kB / 451.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2545, allocations: 1.062 kB / 451.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.2546, allocations: 14.83 kB / 451.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2548, allocations: 7.406 kB / 451.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.2552, allocations: 145.8 kB / 451.9 MB, free: 42.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2553, allocations: 0.6805 MB / 452.6 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2554, allocations: 1.156 kB / 452.6 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2554, allocations: 18.27 kB / 452.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2554, allocations: 0 / 452.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2732, allocations: 1.644 MB / 454.3 MB, free: 41.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.832, allocations: 13.89 kB / 454.3 MB, free: 41.12 MB / 318.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe 2>&1)