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.004736/0.004736, allocations: 101 kB / 15.73 MB, free: 6.055 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.001204/0.001205, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.434/1.434, allocations: 205.1 MB / 222.6 MB, free: 4.293 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0667/0.0667, allocations: 10.97 MB / 280.9 MB, free: 10 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01777/0.01777, allocations: 4.242 MB / 334.6 MB, free: 29 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.001437/0.001436, allocations: 71.52 kB / 447.1 MB, free: 44.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0758/0.07725, allocations: 49.74 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter): time 0.002455/0.07975, allocations: 1.361 MB / 498.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005896/0.08037, allocations: 239.6 kB / 498.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.08041, allocations: 4 kB / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.08045, allocations: 0 / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.08052, allocations: 7.875 kB / 498.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.08084, allocations: 47.81 kB / 498.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.08092, allocations: 27.92 kB / 498.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.08098, allocations: 3.938 kB / 498.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.08104, allocations: 11.98 kB / 498.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.08109, allocations: 11.92 kB / 498.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.08111, allocations: 0 / 498.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.08125, allocations: 55.95 kB / 498.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.08127, allocations: 7.984 kB / 498.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.08131, allocations: 11.92 kB / 498.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.08146, allocations: 55.8 kB / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.08147, allocations: 0 / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.08149, allocations: 4 kB / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.0815, allocations: 0 / 498.7 MB, free: 12.09 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.0005201/0.08202, allocations: 344.9 kB / 499 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.08208, allocations: 12.03 kB / 499 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.08213, allocations: 34.75 kB / 499.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.08216, allocations: 0.9375 kB / 499.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.0823, allocations: 172.2 kB / 499.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.08232, allocations: 4.375 kB / 499.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.08234, allocations: 384 / 499.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.08253, allocations: 58.17 kB / 499.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.08255, allocations: 3.938 kB / 499.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.08256, allocations: 0 / 499.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.08258, allocations: 0 / 499.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.08275, allocations: 35.91 kB / 499.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.08319, allocations: 261 kB / 499.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.08332, allocations: 42.44 kB / 499.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.08341, allocations: 16.91 kB / 499.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.08385, allocations: 182.2 kB / 499.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.08389, allocations: 34.56 kB / 499.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.0839, allocations: 4 kB / 499.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.08427, allocations: 73.64 kB / 499.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.08432, allocations: 51.41 kB / 500 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.0844, allocations: 105.8 kB / 0.4884 GB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.08442, allocations: 25.83 kB / 0.4884 GB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.08448, allocations: 88.14 kB / 0.4885 GB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.0845, allocations: 11.84 kB / 0.4885 GB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.08454, allocations: 9.719 kB / 0.4885 GB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.08466, allocations: 322.8 kB / 0.4888 GB, free: 9.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.08474, allocations: 11.98 kB / 0.4888 GB, free: 9.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.08482, allocations: 15.98 kB / 0.4888 GB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.08498, allocations: 44.88 kB / 0.4889 GB, free: 9.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.08499, allocations: 3.938 kB / 0.4889 GB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.08517, allocations: 61.67 kB / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.0852, allocations: 7.938 kB / 0.4889 GB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.08521, allocations: 0 / 0.4889 GB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.08522, allocations: 0 / 0.4889 GB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.08531, allocations: 19.95 kB / 0.489 GB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.08532, allocations: 0 / 0.489 GB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.08537, allocations: 11.89 kB / 0.489 GB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.08538, allocations: 256 / 0.489 GB, free: 9.789 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 7.161e-05/0.08546, allocations: 109.8 kB / 0.4891 GB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.08549, allocations: 4 kB / 0.4891 GB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.0857, allocations: 72.78 kB / 0.4891 GB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.08572, allocations: 4 kB / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.08572, allocations: 0 / 0.4891 GB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.08573, allocations: 4 kB / 0.4891 GB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.08589, allocations: 161.6 kB / 0.4893 GB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0859, allocations: 0 / 0.4893 GB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.08597, allocations: 11.92 kB / 0.4893 GB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.08598, allocations: 0 / 0.4893 GB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.086, allocations: 4 kB / 0.4893 GB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.08601, allocations: 3.938 kB / 0.4893 GB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.08601, allocations: 4.031 kB / 0.4893 GB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.08624, allocations: 163.5 kB / 0.4895 GB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.08628, allocations: 81.02 kB / 0.4896 GB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.0863, allocations: 0 / 0.4896 GB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.08637, allocations: 7.984 kB / 0.4896 GB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.08641, allocations: 8.016 kB / 0.4896 GB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.08642, allocations: 4 kB / 0.4896 GB, free: 9.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.08646, allocations: 83.28 kB / 0.4897 GB, free: 8.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08647, allocations: 0 / 0.4897 GB, free: 8.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.08671, allocations: 15.94 kB / 0.4897 GB, free: 8.961 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.0005408/0.08726, allocations: 0.7045 MB / 0.4904 GB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.08748, allocations: 39.95 kB / 0.4904 GB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08749, allocations: 0 / 0.4904 GB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.08757, allocations: 15.98 kB / 0.4904 GB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.08788, allocations: 6.5 kB / 0.4904 GB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.08834, allocations: 147.8 kB / 0.4906 GB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.0886, allocations: 0.6729 MB / 0.4912 GB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.383e-05/0.08863, allocations: 0 / 0.4912 GB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.08869, allocations: 15.42 kB / 0.4912 GB, free: 7.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.0887, allocations: 3.938 kB / 0.4912 GB, free: 7.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.1041, allocations: 1.651 MB / 0.4928 GB, free: 5.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.757, allocations: 20.61 kB / 0.4929 GB, free: 5.699 MB / 334.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/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)