Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestOneFlange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlange,fileNamePrefix="EHPTlib_latest_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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 128 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.002406/0.002406, allocations: 198 kB / 16.53 MB, free: 6.668 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1443/0.1443, allocations: 8.024 MB / 298.4 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 51.19 MB / 411.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.006164/0.1086, allocations: 4.1 MB / 416 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.1114, allocations: 1.419 MB / 417.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.1119, allocations: 15.94 kB / 417.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.1124, allocations: 142.9 kB / 417.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.1133, allocations: 210.4 kB / 417.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.1143, allocations: 370.9 kB / 418.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1155, allocations: 0.8373 MB / 419 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007301/0.1162, allocations: 454.4 kB / 419.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.1168, allocations: 322.9 kB / 419.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.1172, allocations: 346.5 kB / 420.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1174, allocations: 92 kB / 420.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1176, allocations: 124 kB / 420.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1178, allocations: 199.4 kB / 420.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.1182, allocations: 398.1 kB / 420.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.1191, allocations: 1.009 MB / 421.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1191, allocations: 0 / 421.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1191, allocations: 7.984 kB / 421.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.1192, allocations: 4 kB / 421.9 MB, free: 0.9297 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.1993/0.3185, allocations: 1.095 MB / 423 MB, free: 44.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3186, allocations: 9.625 kB / 423 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.3187, allocations: 108.6 kB / 423.1 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3189, allocations: 80.28 kB / 423.2 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.3196, allocations: 0.4971 MB / 423.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.3196, allocations: 45.28 kB / 423.7 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.3197, allocations: 66.03 kB / 423.8 MB, free: 44.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3209, allocations: 0.6479 MB / 424.5 MB, free: 43.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.3209, allocations: 13.19 kB / 424.5 MB, free: 43.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.321, allocations: 27.94 kB / 424.5 MB, free: 43.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.321, allocations: 16.34 kB / 424.5 MB, free: 43.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.322, allocations: 477.7 kB / 425 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.3249, allocations: 2.516 MB / 427.5 MB, free: 42.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.3258, allocations: 416.6 kB / 427.9 MB, free: 42.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.3262, allocations: 175.8 kB / 428.1 MB, free: 42.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.3262, allocations: 17.16 kB / 428.1 MB, free: 42.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.3268, allocations: 252 kB / 428.3 MB, free: 42.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.497e-06/0.3268, allocations: 4 kB / 428.3 MB, free: 42.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001449/0.3283, allocations: 0.6759 MB / 429 MB, free: 41.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3283, allocations: 135 kB / 429.2 MB, free: 41.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.3289, allocations: 0.5694 MB / 429.7 MB, free: 41.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3289, allocations: 33.31 kB / 429.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3291, allocations: 339.8 kB / 430.1 MB, free: 41.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.3292, allocations: 104.1 kB / 430.2 MB, free: 41.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3293, allocations: 75.83 kB / 430.3 MB, free: 41.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.3294, allocations: 367.1 kB / 430.6 MB, free: 40.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.3298, allocations: 166.6 kB / 430.8 MB, free: 40.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.3302, allocations: 252.2 kB / 431 MB, free: 40.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.331, allocations: 0.5287 MB / 431.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.331, allocations: 3.125 kB / 431.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001011/0.332, allocations: 0.5885 MB / 432.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.3321, allocations: 90.55 kB / 432.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3321, allocations: 6.938 kB / 432.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.3322, allocations: 26.73 kB / 432.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.3325, allocations: 81.05 kB / 432.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007136/0.3333, allocations: 1.382 MB / 433.7 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.3337, allocations: 81.44 kB / 433.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.3337, allocations: 19.41 kB / 433.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004466/0.3342, allocations: 317.9 kB / 434.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003509/0.3345, allocations: 241.6 kB / 434.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006609/0.3352, allocations: 0.5083 MB / 434.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.3352, allocations: 5.188 kB / 434.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009059/0.3361, allocations: 0.5646 MB / 435.5 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.3362, allocations: 83.7 kB / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3362, allocations: 6.734 kB / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.02e-05/0.3363, allocations: 25.48 kB / 435.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.3365, allocations: 81.69 kB / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/0.3372, allocations: 1.392 MB / 437 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3376, allocations: 66.06 kB / 437.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3376, allocations: 17.12 kB / 437.1 MB, free: 35.66 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.000173/0.3378, allocations: 267 kB / 437.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.3379, allocations: 48.75 kB / 437.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.3389, allocations: 0.4958 MB / 437.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3389, allocations: 3.188 kB / 437.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3389, allocations: 0 / 437.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3389, allocations: 6.703 kB / 437.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3405, allocations: 1.141 MB / 439.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3405, allocations: 0 / 439.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.3408, allocations: 54.08 kB / 439.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/0.3409, allocations: 28.12 kB / 439.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3409, allocations: 7.125 kB / 439.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/0.3416, allocations: 1.382 MB / 440.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3416, allocations: 3.422 kB / 440.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.3429, allocations: 0.7612 MB / 441.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.343, allocations: 139 kB / 441.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.343, allocations: 10.53 kB / 441.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3434, allocations: 40.11 kB / 441.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.3435, allocations: 38.61 kB / 441.5 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.3436, allocations: 17.5 kB / 441.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.3439, allocations: 412.8 kB / 442 MB, free: 32.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.344, allocations: 0 / 442 MB, free: 32.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007632/0.3447, allocations: 260.9 kB / 442.2 MB, free: 32.22 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.002349/0.3471, allocations: 1.555 MB / 443.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.349, allocations: 1.182 MB / 444.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.349, allocations: 0.8125 kB / 444.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3495, allocations: 428.5 kB / 445.4 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.3501, allocations: 93.86 kB / 445.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.3569, allocations: 5.46 MB / 450.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3573, allocations: 0.8905 MB / 451.8 MB, free: 26.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.3575, allocations: 60.17 kB / 451.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.3578, allocations: 214.8 kB / 452.1 MB, free: 26.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3578, allocations: 4 kB / 452.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.4006, allocations: 12.48 MB / 464.6 MB, free: 24.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.485/9.885, allocations: 3.25 kB / 464.6 MB, free: 24.71 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)