Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 100.7 kB / 16.24 MB, free: 6.387 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.001069/0.001069, allocations: 192.4 kB / 17.17 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03948/0.03948, allocations: 8.024 MB / 299 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 361.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1766, allocations: 51.19 MB / 412.4 MB, free: 26.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004212/0.1808, allocations: 4.278 MB / 416.7 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1824, allocations: 1.453 MB / 418.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1827, allocations: 19.88 kB / 418.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1831, allocations: 158.8 kB / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.1835, allocations: 206.4 kB / 418.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.184, allocations: 403.3 kB / 418.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.1845, allocations: 0.8845 MB / 419.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.185, allocations: 477.7 kB / 420.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1852, allocations: 346.8 kB / 420.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1855, allocations: 382.4 kB / 421 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.1856, allocations: 104 kB / 421.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1857, allocations: 124 kB / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1859, allocations: 215.4 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1861, allocations: 433.9 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.1867, allocations: 1.063 MB / 422.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1868, allocations: 3.938 kB / 422.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1868, allocations: 0 / 422.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1868, allocations: 0 / 422.9 MB, free: 15.66 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001487/0.1883, allocations: 1.151 MB / 424 MB, free: 14.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1883, allocations: 12.03 kB / 424 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1884, allocations: 83.94 kB / 424.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.1889, allocations: 0.5089 MB / 424.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.189, allocations: 50 kB / 424.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.1891, allocations: 75.91 kB / 424.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1901, allocations: 0.7035 MB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.1902, allocations: 0 / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.1902, allocations: 36 kB / 425.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1902, allocations: 16 kB / 425.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1912, allocations: 0.5015 MB / 426 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.1941, allocations: 2.556 MB / 428.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.1949, allocations: 453 kB / 429 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1953, allocations: 180.8 kB / 429.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.1953, allocations: 4 kB / 429.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.1959, allocations: 263.4 kB / 429.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.1959, allocations: 0 / 429.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001411/0.1973, allocations: 0.7081 MB / 430.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1973, allocations: 140.5 kB / 430.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1978, allocations: 0.5683 MB / 430.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1979, allocations: 33.7 kB / 430.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.198, allocations: 359.8 kB / 431.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.1981, allocations: 114.4 kB / 431.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1982, allocations: 70.08 kB / 431.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.1983, allocations: 370.7 kB / 431.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.1987, allocations: 166.3 kB / 432 MB, free: 6.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.1991, allocations: 266.3 kB / 432.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.1998, allocations: 0.5388 MB / 432.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1998, allocations: 7.984 kB / 432.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009946/0.2008, allocations: 0.5998 MB / 433.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.2009, allocations: 97.47 kB / 433.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2009, allocations: 8 kB / 433.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.201, allocations: 16.86 kB / 433.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.2014, allocations: 87.81 kB / 433.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006477/0.202, allocations: 1.387 MB / 435 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.2024, allocations: 83.55 kB / 435 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2025, allocations: 20 kB / 435.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004948/0.203, allocations: 320.8 kB / 435.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003563/0.2033, allocations: 247.3 kB / 435.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006753/0.204, allocations: 0.5263 MB / 436.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.204, allocations: 96 / 436.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009112/0.205, allocations: 0.5764 MB / 436.7 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.205, allocations: 97.72 kB / 436.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.205, allocations: 4 kB / 436.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.386e-05/0.2051, allocations: 29.22 kB / 436.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.2054, allocations: 71.89 kB / 436.9 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007876/0.2062, allocations: 1.402 MB / 438.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.2066, allocations: 59.7 kB / 438.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2067, allocations: 16.09 kB / 438.4 MB, free: 15.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.2069, allocations: 279.5 kB / 438.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.2069, allocations: 51.34 kB / 438.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.2081, allocations: 0.5064 MB / 439.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2081, allocations: 3.984 kB / 439.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2081, allocations: 0 / 439.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2082, allocations: 136.4 kB / 439.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.2083, allocations: 12 kB / 439.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.2087, allocations: 39.95 kB / 439.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2088, allocations: 35.95 kB / 439.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001346/0.2101, allocations: 0.6729 MB / 440.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001447/0.2116, allocations: 0.8523 MB / 441 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004357/0.212, allocations: 187.9 kB / 441.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.2125, allocations: 418.8 kB / 441.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of Backend: time 3.9e-07/0.2125, allocations: 0 / 441.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.2152, allocations: 1.437 MB / 443 MB, free: 10.45 MB / 318.1 MB Notification: Performance of SimCode: time 0.002094/0.2173, allocations: 1.771 MB / 444.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Templates: time 0.0146/0.2319, allocations: 8.759 MB / 453.5 MB, free: 15.89 MB / 334.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)