Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange",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.001018/0.001018, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001005/0.001005, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.134/0.134, allocations: 8.029 MB / 298.1 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 59.91 kB / 360.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.0866, allocations: 51.2 MB / 411.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005136/0.09177, allocations: 4.301 MB / 415.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.09387, allocations: 1.43 MB / 417.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.09413, allocations: 15.94 kB / 417.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.09452, allocations: 127.3 kB / 417.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.09499, allocations: 171 kB / 417.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.09562, allocations: 351.4 kB / 417.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.09641, allocations: 0.8922 MB / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.09701, allocations: 483.7 kB / 419.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.09735, allocations: 334.9 kB / 419.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.09773, allocations: 378.4 kB / 419.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.09784, allocations: 100 kB / 420 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.09803, allocations: 136 kB / 420.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.09824, allocations: 219.3 kB / 420.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.09857, allocations: 426 kB / 420.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.09943, allocations: 1.075 MB / 421.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.09945, allocations: 0 / 421.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09945, allocations: 0 / 421.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.09947, allocations: 0 / 421.8 MB, free: 0.9062 MB / 350.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.1442/0.2437, allocations: 1.148 MB / 423 MB, free: 44.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2437, allocations: 8.125 kB / 423 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.2438, allocations: 119.6 kB / 423.1 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2439, allocations: 82.44 kB / 423.2 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.2445, allocations: 0.5056 MB / 423.7 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.2445, allocations: 56.09 kB / 423.7 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.2446, allocations: 72.02 kB / 423.8 MB, free: 44.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2457, allocations: 0.7081 MB / 424.5 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2457, allocations: 4.453 kB / 424.5 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.2458, allocations: 34.27 kB / 424.5 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2458, allocations: 16.02 kB / 424.6 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/0.2467, allocations: 0.4998 MB / 425.1 MB, free: 43.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.2495, allocations: 2.57 MB / 427.6 MB, free: 42.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/0.2502, allocations: 444.8 kB / 428.1 MB, free: 42.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.2506, allocations: 175.7 kB / 428.2 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.2506, allocations: 4.094 kB / 428.2 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.2511, allocations: 266 kB / 428.5 MB, free: 42.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.2511, allocations: 0 / 428.5 MB, free: 42.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001307/0.2525, allocations: 0.7118 MB / 429.2 MB, free: 41.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.2525, allocations: 140.6 kB / 429.3 MB, free: 41.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.253, allocations: 0.5795 MB / 429.9 MB, free: 41.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.253, allocations: 36.2 kB / 430 MB, free: 41.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.2532, allocations: 351.5 kB / 430.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.2533, allocations: 112 kB / 430.4 MB, free: 41.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2534, allocations: 82.3 kB / 430.5 MB, free: 40.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.2534, allocations: 364.4 kB / 430.8 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.2538, allocations: 164.5 kB / 431 MB, free: 40.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.2542, allocations: 263.2 kB / 431.3 MB, free: 40.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.2548, allocations: 0.5448 MB / 431.8 MB, free: 40.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2549, allocations: 0 / 431.8 MB, free: 40.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000911/0.2558, allocations: 0.607 MB / 432.4 MB, free: 39.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.2558, allocations: 94.03 kB / 432.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2558, allocations: 3.25 kB / 432.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.256, allocations: 21.62 kB / 432.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2563, allocations: 90.12 kB / 432.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006523/0.2569, allocations: 1.388 MB / 434 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.2573, allocations: 78.91 kB / 434.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.2574, allocations: 23.89 kB / 434.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004308/0.2578, allocations: 325.7 kB / 434.4 MB, free: 37.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003284/0.2581, allocations: 253.8 kB / 434.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006093/0.2588, allocations: 0.5286 MB / 435.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.2588, allocations: 3.797 kB / 435.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000832/0.2596, allocations: 0.5701 MB / 435.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.2596, allocations: 94.47 kB / 435.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2596, allocations: 3.281 kB / 435.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.236e-05/0.2597, allocations: 29.25 kB / 435.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.26, allocations: 81.94 kB / 436 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.2605, allocations: 1.387 MB / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.2609, allocations: 65.25 kB / 437.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.2609, allocations: 20.45 kB / 437.5 MB, free: 35.59 MB / 350.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.0001254/0.2611, allocations: 269 kB / 437.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.2611, allocations: 55.86 kB / 437.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008812/0.262, allocations: 0.5033 MB / 438.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.262, allocations: 3.312 kB / 438.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.262, allocations: 0 / 438.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.262, allocations: 11.31 kB / 438.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.2634, allocations: 1.184 MB / 439.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2634, allocations: 3.938 kB / 439.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2637, allocations: 64.95 kB / 439.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.125e-05/0.2637, allocations: 22.31 kB / 439.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.2638, allocations: 10.56 kB / 439.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005225/0.2643, allocations: 1.382 MB / 441 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2643, allocations: 3.375 kB / 441 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.2655, allocations: 0.7956 MB / 441.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.2656, allocations: 141.6 kB / 441.9 MB, free: 32.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.2657, allocations: 18 kB / 441.9 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.266, allocations: 44.66 kB / 442 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.2661, allocations: 31.86 kB / 442 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2661, allocations: 12.12 kB / 442 MB, free: 32.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.2665, allocations: 422.3 kB / 442.4 MB, free: 32.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2665, allocations: 4 kB / 442.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006139/0.2671, allocations: 283.9 kB / 442.7 MB, free: 32.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00199/0.2691, allocations: 1.592 MB / 444.3 MB, free: 31.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.2706, allocations: 1.202 MB / 445.5 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2706, allocations: 0 / 445.5 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.2711, allocations: 437.3 kB / 445.9 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.2716, allocations: 91.64 kB / 446 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.2778, allocations: 5.863 MB / 451.9 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2781, allocations: 0.9024 MB / 452.8 MB, free: 25.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.2783, allocations: 64.38 kB / 452.8 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.2786, allocations: 232.9 kB / 453.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2786, allocations: 3.938 kB / 453.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3044, allocations: 12.62 MB / 465.7 MB, free: 24.28 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.3045, allocations: 265.1 kB / 465.9 MB, free: 24.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.212, allocations: 4 kB / 465.9 MB, free: 24.02 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestTwoFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)