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.004608/0.004608, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001106/0.001106, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04009/0.04009, allocations: 8.032 MB / 298.6 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 412.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08584, allocations: 51.19 MB / 463.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005685/0.09156, allocations: 4.116 MB / 467.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.09421, allocations: 1.418 MB / 469.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.09475, allocations: 11.94 kB / 469.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.09531, allocations: 150.8 kB / 469.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.09612, allocations: 202.5 kB / 469.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008785/0.09701, allocations: 385.1 kB / 470 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.09806, allocations: 0.8451 MB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.0987, allocations: 450.5 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.09916, allocations: 318.9 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.09966, allocations: 354.5 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.09983, allocations: 92 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1001, allocations: 120 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.1003, allocations: 203.4 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.1008, allocations: 410 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.102, allocations: 1.024 MB / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.102, allocations: 0 / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.102, allocations: 4 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.1021, allocations: 0 / 473.8 MB, free: 9.465 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.002359/0.1044, allocations: 1.125 MB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1045, allocations: 11.97 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.1046, allocations: 114.7 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.1048, allocations: 84.42 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.1055, allocations: 0.5091 MB / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.1056, allocations: 45.31 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.1057, allocations: 64 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1069, allocations: 0.6488 MB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.107, allocations: 7.938 kB / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.205e-05/0.107, allocations: 28 kB / 476.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1071, allocations: 12 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1082, allocations: 481 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.1116, allocations: 2.502 MB / 479.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.1126, allocations: 412 kB / 479.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.113, allocations: 173 kB / 480 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.1131, allocations: 12.16 kB / 480 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.1136, allocations: 265.6 kB / 480.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.1136, allocations: 4 kB / 480.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001617/0.1153, allocations: 0.6858 MB / 480.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1154, allocations: 132.5 kB / 481.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.116, allocations: 0.5645 MB / 481.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.116, allocations: 33.7 kB / 481.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.1163, allocations: 348 kB / 482 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.1164, allocations: 103.1 kB / 482.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1165, allocations: 85.64 kB / 482.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1167, allocations: 358.8 kB / 482.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.1171, allocations: 161.2 kB / 482.7 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.1176, allocations: 254.6 kB / 483 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.1185, allocations: 0.5309 MB / 483.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1185, allocations: 4 kB / 483.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001148/0.1197, allocations: 0.5848 MB / 484.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.1197, allocations: 103.4 kB / 484.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1198, allocations: 3.984 kB / 484.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.1199, allocations: 24.86 kB / 484.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.1202, allocations: 79.88 kB / 484.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.1213, allocations: 1.379 MB / 485.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.1217, allocations: 83.7 kB / 485.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1217, allocations: 23.92 kB / 485.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005443/0.1223, allocations: 312.5 kB / 486.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004194/0.1227, allocations: 246.9 kB / 486.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008101/0.1235, allocations: 0.5186 MB / 486.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.1236, allocations: 0 / 486.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001058/0.1246, allocations: 0.5652 MB / 487.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1247, allocations: 85.11 kB / 487.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1247, allocations: 7.984 kB / 487.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-05/0.1248, allocations: 20.86 kB / 487.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1251, allocations: 84.17 kB / 487.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.126, allocations: 1.39 MB / 489 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.1264, allocations: 59.73 kB / 489 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1265, allocations: 20 kB / 489.1 MB, free: 9.168 MB / 366.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.0001925/0.1267, allocations: 267.5 kB / 489.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.1268, allocations: 59.67 kB / 489.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.1279, allocations: 499.9 kB / 489.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1279, allocations: 4 kB / 489.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1279, allocations: 0 / 489.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1279, allocations: 4 kB / 489.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1296, allocations: 1.131 MB / 491 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1296, allocations: 0 / 491 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.1299, allocations: 59.95 kB / 491.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-05/0.13, allocations: 20.8 kB / 491.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.13, allocations: 15.92 kB / 491.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008304/0.1309, allocations: 1.371 MB / 492.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1309, allocations: 0 / 492.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.1323, allocations: 0.7743 MB / 493.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1325, allocations: 140.7 kB / 493.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.1325, allocations: 8 kB / 493.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.1329, allocations: 43.95 kB / 493.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.133, allocations: 35.89 kB / 493.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.1331, allocations: 12 kB / 493.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.1335, allocations: 410.8 kB / 493.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1335, allocations: 0 / 493.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007589/0.1343, allocations: 267.2 kB / 494.1 MB, free: 3.773 MB / 366.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.002411/0.1367, allocations: 1.586 MB / 495.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.1386, allocations: 1.159 MB / 496.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1386, allocations: 0 / 496.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.1393, allocations: 429.3 kB / 497.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.1398, allocations: 86.8 kB / 497.4 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/0.1472, allocations: 5.339 MB / 0.4909 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1477, allocations: 0.8894 MB / 0.4918 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.148, allocations: 59.36 kB / 0.4919 GB, free: 9.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.1483, allocations: 207.4 kB / 0.4921 GB, free: 9.785 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1483, allocations: 4 kB / 0.4921 GB, free: 9.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.3554, allocations: 12.77 MB / 0.5045 GB, free: 46.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.554/9.909, allocations: 7.188 kB / 0.5045 GB, free: 46.45 MB / 382.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)