Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib_MapBased_TestingModels_TestTwoFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestTwoFlange,fileNamePrefix="EHPTlib_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.001399/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001534/0.001534, allocations: 194.1 kB / 16.25 MB, free: 6.617 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1654/0.1654, allocations: 8.033 MB / 298.1 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.91 kB / 360.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 51.18 MB / 411.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005401/0.1075, allocations: 4.303 MB / 415.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1098, allocations: 1.426 MB / 417.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.1101, allocations: 15.94 kB / 417.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.1105, allocations: 131.3 kB / 417.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.111, allocations: 170.9 kB / 417.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.1117, allocations: 355.3 kB / 417.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007885/0.1125, allocations: 0.8884 MB / 418.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006473/0.1131, allocations: 475.7 kB / 419.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/0.1136, allocations: 342.8 kB / 419.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.114, allocations: 382.4 kB / 419.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1141, allocations: 100 kB / 420 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1144, allocations: 132 kB / 420.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1146, allocations: 223.3 kB / 420.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.1151, allocations: 426 kB / 420.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1163, allocations: 1.063 MB / 421.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1163, allocations: 4 kB / 421.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1163, allocations: 0 / 421.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1163, allocations: 0 / 421.8 MB, free: 0.8867 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.1934/0.3097, allocations: 1.15 MB / 423 MB, free: 44.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3098, allocations: 8.031 kB / 423 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.31, allocations: 115.1 kB / 423.1 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.3101, allocations: 84.19 kB / 423.2 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.3108, allocations: 0.5101 MB / 423.7 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.3108, allocations: 53.16 kB / 423.7 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3109, allocations: 75.25 kB / 423.8 MB, free: 43.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.3122, allocations: 0.7035 MB / 424.5 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.3122, allocations: 7.25 kB / 424.5 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.3123, allocations: 33.16 kB / 424.5 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3123, allocations: 17.41 kB / 424.6 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3133, allocations: 0.505 MB / 425.1 MB, free: 43.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.3164, allocations: 2.566 MB / 427.6 MB, free: 42.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.3173, allocations: 437.1 kB / 428.1 MB, free: 42.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.3177, allocations: 187.1 kB / 428.2 MB, free: 42.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.3178, allocations: 4.078 kB / 428.2 MB, free: 42.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005794/0.3183, allocations: 261.5 kB / 428.5 MB, free: 42.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.3183, allocations: 1.562 kB / 428.5 MB, free: 42.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001453/0.3198, allocations: 0.7131 MB / 429.2 MB, free: 41.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3199, allocations: 135.3 kB / 429.3 MB, free: 41.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.3204, allocations: 0.573 MB / 429.9 MB, free: 41.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3204, allocations: 40.11 kB / 430 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3206, allocations: 353.7 kB / 430.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.3207, allocations: 115.1 kB / 430.4 MB, free: 40.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3208, allocations: 83.14 kB / 430.5 MB, free: 40.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.3209, allocations: 363 kB / 430.8 MB, free: 40.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3213, allocations: 167.2 kB / 431 MB, free: 40.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3217, allocations: 260.1 kB / 431.3 MB, free: 40.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.3225, allocations: 0.5451 MB / 431.8 MB, free: 39.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3225, allocations: 3.031 kB / 431.8 MB, free: 39.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001006/0.3235, allocations: 0.6084 MB / 432.4 MB, free: 39.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.3235, allocations: 86.95 kB / 432.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3236, allocations: 3.156 kB / 432.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.3237, allocations: 32.95 kB / 432.5 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.324, allocations: 79.66 kB / 432.6 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007022/0.3247, allocations: 1.386 MB / 434 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.3251, allocations: 78.08 kB / 434.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.3252, allocations: 25 kB / 434.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004566/0.3256, allocations: 320.3 kB / 434.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000334/0.326, allocations: 255.5 kB / 434.7 MB, free: 37.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006477/0.3266, allocations: 0.5316 MB / 435.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.3267, allocations: 1.969 kB / 435.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009083/0.3276, allocations: 0.5728 MB / 435.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.3276, allocations: 96.45 kB / 435.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3276, allocations: 3.062 kB / 435.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.187e-05/0.3277, allocations: 31.23 kB / 435.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.328, allocations: 79.08 kB / 436 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005649/0.3286, allocations: 1.388 MB / 437.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.3289, allocations: 65.17 kB / 437.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.329, allocations: 16.94 kB / 437.4 MB, free: 35.44 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.0001365/0.3291, allocations: 274.3 kB / 437.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.3292, allocations: 49.28 kB / 437.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/0.3301, allocations: 0.5054 MB / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3301, allocations: 7.188 kB / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3301, allocations: 0 / 438.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3301, allocations: 3.938 kB / 438.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.3316, allocations: 1.193 MB / 439.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3316, allocations: 3.938 kB / 439.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.3319, allocations: 61.06 kB / 439.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-05/0.332, allocations: 23.62 kB / 439.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.3321, allocations: 10.34 kB / 439.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005709/0.3326, allocations: 1.383 MB / 441 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3326, allocations: 8.938 kB / 441 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3339, allocations: 0.7911 MB / 441.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.334, allocations: 139.2 kB / 441.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.3341, allocations: 10.34 kB / 441.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3344, allocations: 51.33 kB / 441.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.3345, allocations: 31.22 kB / 442 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3346, allocations: 6.5 kB / 442 MB, free: 32.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.3349, allocations: 426.7 kB / 442.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 0 / 442.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006863/0.3356, allocations: 287 kB / 442.7 MB, free: 31.94 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.0021/0.3377, allocations: 1.597 MB / 444.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.3394, allocations: 1.198 MB / 445.5 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3394, allocations: 0.8125 kB / 445.5 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.3399, allocations: 441.9 kB / 445.9 MB, free: 29.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.3405, allocations: 93.77 kB / 446 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.3471, allocations: 5.854 MB / 451.9 MB, free: 26.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3474, allocations: 0.9079 MB / 452.8 MB, free: 25.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.3477, allocations: 69.91 kB / 452.8 MB, free: 25.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3479, allocations: 233 kB / 453.1 MB, free: 25.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.744e-06/0.3479, allocations: 0 / 453.1 MB, free: 25.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3753, allocations: 12.62 MB / 465.7 MB, free: 24.13 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/0.3755, allocations: 252.9 kB / 465.9 MB, free: 23.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.378, allocations: 0 / 465.9 MB, free: 23.88 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestTwoFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestTwoFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)