Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange",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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1767/0.1767, allocations: 8.023 MB / 298.4 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 360.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 51.19 MB / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.006318/0.1126, allocations: 4.096 MB / 416 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1155, allocations: 1.419 MB / 417.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.1161, allocations: 8 kB / 417.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.1166, allocations: 150.8 kB / 417.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1173, allocations: 202.5 kB / 417.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.1182, allocations: 382.7 kB / 418.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009735/0.1192, allocations: 0.8335 MB / 419 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.1198, allocations: 450.5 kB / 419.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.1202, allocations: 318.9 kB / 419.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.1205, allocations: 350.5 kB / 420.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1207, allocations: 96 kB / 420.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.1209, allocations: 120 kB / 420.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.1211, allocations: 203.4 kB / 420.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.1214, allocations: 410 kB / 420.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009093/0.1224, allocations: 0.9969 MB / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1224, allocations: 0 / 421.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1224, allocations: 4 kB / 421.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1224, allocations: 0 / 421.9 MB, free: 0.9023 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.2062/0.3286, allocations: 1.108 MB / 423 MB, free: 44.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3287, allocations: 8.219 kB / 423 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3288, allocations: 103.8 kB / 423.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.329, allocations: 84.36 kB / 423.2 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.3297, allocations: 0.497 MB / 423.7 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.3297, allocations: 47.36 kB / 423.8 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.3298, allocations: 61.12 kB / 423.8 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.3311, allocations: 0.6535 MB / 424.5 MB, free: 43.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3311, allocations: 9.625 kB / 424.5 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.3312, allocations: 28.09 kB / 424.5 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3312, allocations: 15.12 kB / 424.5 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3322, allocations: 480.8 kB / 425 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.3352, allocations: 2.516 MB / 427.5 MB, free: 42.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.3361, allocations: 418.2 kB / 427.9 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.3365, allocations: 174.3 kB / 428.1 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3365, allocations: 8.469 kB / 428.1 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005523/0.3371, allocations: 251.8 kB / 428.3 MB, free: 42.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.3371, allocations: 0 / 428.3 MB, free: 42.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001469/0.3386, allocations: 0.6765 MB / 429 MB, free: 41.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3386, allocations: 140.2 kB / 429.1 MB, free: 41.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.3393, allocations: 0.5638 MB / 429.7 MB, free: 41.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3393, allocations: 36.17 kB / 429.7 MB, free: 41.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3395, allocations: 344.8 kB / 430.1 MB, free: 41.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.3396, allocations: 108.2 kB / 430.2 MB, free: 41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3397, allocations: 69.98 kB / 430.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.3398, allocations: 368.3 kB / 430.6 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.3402, allocations: 161.1 kB / 430.8 MB, free: 40.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.3406, allocations: 252 kB / 431 MB, free: 40.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.3413, allocations: 0.5344 MB / 431.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3413, allocations: 0.5 kB / 431.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009908/0.3423, allocations: 0.5959 MB / 432.2 MB, free: 39.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.3424, allocations: 90.05 kB / 432.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3424, allocations: 0.9375 kB / 432.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.3425, allocations: 28.22 kB / 432.3 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.3429, allocations: 79.75 kB / 432.3 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006704/0.3435, allocations: 1.384 MB / 433.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.3439, allocations: 82.39 kB / 433.8 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.344, allocations: 12.59 kB / 433.8 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004483/0.3444, allocations: 318.8 kB / 434.1 MB, free: 38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003646/0.3448, allocations: 244.8 kB / 434.4 MB, free: 37.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007149/0.3455, allocations: 0.5101 MB / 434.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.3455, allocations: 2.969 kB / 434.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009697/0.3465, allocations: 0.5604 MB / 435.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.3466, allocations: 95.52 kB / 435.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3466, allocations: 3.188 kB / 435.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.915e-05/0.3467, allocations: 24.8 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.3469, allocations: 73.66 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/0.3476, allocations: 1.395 MB / 437 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.348, allocations: 73.89 kB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3481, allocations: 16.31 kB / 437.1 MB, free: 35.61 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.000188/0.3483, allocations: 262.3 kB / 437.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.3484, allocations: 51.47 kB / 437.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009967/0.3494, allocations: 0.4905 MB / 437.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3494, allocations: 2.719 kB / 437.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3494, allocations: 0 / 437.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3494, allocations: 3.328 kB / 437.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.351, allocations: 1.144 MB / 439.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.351, allocations: 0 / 439.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.3513, allocations: 62.06 kB / 439.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.829e-05/0.3513, allocations: 19.3 kB / 439.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3514, allocations: 14.11 kB / 439.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006341/0.352, allocations: 1.372 MB / 440.5 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.352, allocations: 3.656 kB / 440.5 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.3533, allocations: 0.7719 MB / 441.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.3534, allocations: 139.3 kB / 441.4 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.3535, allocations: 10.91 kB / 441.5 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.3539, allocations: 52.77 kB / 441.5 MB, free: 32.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.354, allocations: 31.69 kB / 441.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.354, allocations: 6.781 kB / 441.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003723/0.3544, allocations: 412.8 kB / 441.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3544, allocations: 0 / 441.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.3551, allocations: 264.8 kB / 442.2 MB, free: 32.18 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * 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.002299/0.3574, allocations: 1.558 MB / 443.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.3593, allocations: 1.18 MB / 444.9 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3594, allocations: 0 / 444.9 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.3599, allocations: 432.6 kB / 445.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3605, allocations: 90.28 kB / 445.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.3673, allocations: 5.472 MB / 450.9 MB, free: 26.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3676, allocations: 0.8813 MB / 451.8 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.3679, allocations: 64.67 kB / 451.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3681, allocations: 210.5 kB / 452.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of SimCode: time 1.804e-06/0.3682, allocations: 0 / 452.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.4061, allocations: 12.48 MB / 464.6 MB, free: 24.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/9.81, allocations: 15.77 kB / 464.6 MB, free: 24.64 MB / 350.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)