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.001076/0.001076, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07135/0.07135, allocations: 10.99 MB / 281.4 MB, free: 10.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01727/0.01728, allocations: 4.233 MB / 336 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.0005768/0.0005769, allocations: 12 kB / 398.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3095, allocations: 50.76 MB / 449.5 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter): time 0.001417/0.311, allocations: 1.069 MB / 450.6 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.3115, allocations: 230.9 kB / 450.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3116, allocations: 0 / 450.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.3116, allocations: 3.938 kB / 450.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.3116, allocations: 0.8438 kB / 450.8 MB, free: 46.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3119, allocations: 48.59 kB / 450.9 MB, free: 46.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.3119, allocations: 20.06 kB / 450.9 MB, free: 46.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.312, allocations: 1.094 kB / 450.9 MB, free: 46.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.3121, allocations: 12.2 kB / 450.9 MB, free: 46.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.3121, allocations: 15.62 kB / 450.9 MB, free: 46.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3121, allocations: 1.188 kB / 450.9 MB, free: 46.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3123, allocations: 46.23 kB / 450.9 MB, free: 46.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.3123, allocations: 5.188 kB / 450.9 MB, free: 46.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3123, allocations: 30.73 kB / 451 MB, free: 46.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3124, allocations: 34.34 kB / 451 MB, free: 46.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3124, allocations: 4 kB / 451 MB, free: 46.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3124, allocations: 1.094 kB / 451 MB, free: 46.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3125, allocations: 0 / 451 MB, free: 46.38 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.0004014/0.3129, allocations: 353.5 kB / 451.4 MB, free: 46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3129, allocations: 9.219 kB / 451.4 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.313, allocations: 35.52 kB / 451.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.313, allocations: 1.031 kB / 451.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.3131, allocations: 173.1 kB / 451.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3131, allocations: 5.031 kB / 451.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.3131, allocations: 1.156 kB / 451.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3133, allocations: 57.14 kB / 451.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3133, allocations: 0 / 451.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3134, allocations: 1.062 kB / 451.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3134, allocations: 0 / 451.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3135, allocations: 48.83 kB / 451.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.3139, allocations: 264.9 kB / 451.9 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.314, allocations: 47.41 kB / 452 MB, free: 45.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.3141, allocations: 27.92 kB / 452 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.3145, allocations: 178.4 kB / 452.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3145, allocations: 36.05 kB / 452.2 MB, free: 45.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3145, allocations: 0 / 452.2 MB, free: 45.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.3149, allocations: 94.97 kB / 452.3 MB, free: 45.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3149, allocations: 52.5 kB / 452.4 MB, free: 44.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.315, allocations: 103.1 kB / 452.5 MB, free: 44.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.315, allocations: 27.05 kB / 452.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.3151, allocations: 81.73 kB / 452.6 MB, free: 44.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.3151, allocations: 11.84 kB / 452.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3151, allocations: 4.125 kB / 452.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.3152, allocations: 320.2 kB / 452.9 MB, free: 44.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.3152, allocations: 17.64 kB / 452.9 MB, free: 44.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.3153, allocations: 22.7 kB / 452.9 MB, free: 44.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.3154, allocations: 21.42 kB / 453 MB, free: 44.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3154, allocations: 1.219 kB / 453 MB, free: 44.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.3156, allocations: 73.69 kB / 453 MB, free: 44.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3156, allocations: 10.28 kB / 453.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3156, allocations: 0 / 453.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3156, allocations: 0 / 453.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.3157, allocations: 19.77 kB / 453.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3158, allocations: 1.562 kB / 453.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3158, allocations: 9.266 kB / 453.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3158, allocations: 1.344 kB / 453.1 MB, free: 44.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.3159, allocations: 123 kB / 453.2 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3159, allocations: 5.469 kB / 453.2 MB, free: 44.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3161, allocations: 89.17 kB / 453.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3162, allocations: 0 / 453.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3162, allocations: 4.031 kB / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3162, allocations: 1.594 kB / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3163, allocations: 165.3 kB / 453.5 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3163, allocations: 0 / 453.5 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.3164, allocations: 17.36 kB / 453.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3164, allocations: 0 / 453.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3164, allocations: 1.281 kB / 453.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3164, allocations: 0 / 453.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3164, allocations: 0 / 453.5 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.3166, allocations: 177.3 kB / 453.7 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.3167, allocations: 82.06 kB / 453.7 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3167, allocations: 4 kB / 453.7 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3168, allocations: 14.58 kB / 453.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3168, allocations: 0.9375 kB / 453.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3168, allocations: 1 kB / 453.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.3168, allocations: 79.19 kB / 453.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3168, allocations: 0 / 453.8 MB, free: 43.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.3171, allocations: 9.031 kB / 453.8 MB, free: 43.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.3175, allocations: 0.7197 MB / 454.6 MB, free: 42.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3177, allocations: 51.67 kB / 454.6 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3177, allocations: 0 / 454.6 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.3178, allocations: 23.58 kB / 454.6 MB, free: 42.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3181, allocations: 7.094 kB / 454.6 MB, free: 42.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3185, allocations: 153 kB / 454.8 MB, free: 42.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3186, allocations: 0.682 MB / 455.5 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.3187, allocations: 1.312 kB / 455.5 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.3187, allocations: 12.81 kB / 455.5 MB, free: 41.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3187, allocations: 0 / 455.5 MB, free: 41.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.3308, allocations: 1.401 MB / 456.9 MB, free: 41.32 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.331, allocations: 251.5 kB / 457.1 MB, free: 41.03 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.269, allocations: 0 / 457.1 MB, free: 41.03 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: