Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",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.004938/0.004938, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001176/0.001176, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03852/0.03852, allocations: 8.038 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.84 kB / 412.6 MB, free: 22.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.07887, allocations: 51.19 MB / 463.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005306/0.08421, allocations: 4.144 MB / 467.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.08623, allocations: 1.418 MB / 469.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.08646, allocations: 19.94 kB / 469.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.08683, allocations: 154.8 kB / 469.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.08731, allocations: 202.5 kB / 469.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.08796, allocations: 392.5 kB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.08871, allocations: 0.8456 MB / 470.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.08934, allocations: 499.6 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.08967, allocations: 330.8 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.09004, allocations: 358.4 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.09016, allocations: 96 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.09034, allocations: 128 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.09055, allocations: 203.4 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.09089, allocations: 414.1 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.0919, allocations: 1.055 MB / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09191, allocations: 0 / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09192, allocations: 0 / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.09194, allocations: 7.938 kB / 474 MB, free: 9.297 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001837/0.09378, allocations: 1.134 MB / 475.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.09382, allocations: 15.97 kB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.09394, allocations: 106.7 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.09408, allocations: 92.38 kB / 475.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.09477, allocations: 0.5134 MB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.09483, allocations: 49.31 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.09494, allocations: 79.92 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.0962, allocations: 0.6644 MB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.09624, allocations: 4 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.09632, allocations: 28 kB / 476.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.09634, allocations: 16 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.09747, allocations: 492.9 kB / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.101, allocations: 2.56 MB / 479.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.102, allocations: 428 kB / 480.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.1024, allocations: 173 kB / 480.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.1025, allocations: 4.234 kB / 480.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.103, allocations: 257.7 kB / 480.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.1031, allocations: 3.938 kB / 480.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001629/0.1047, allocations: 0.6859 MB / 481.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1048, allocations: 136.5 kB / 481.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.1054, allocations: 0.5645 MB / 481.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.1055, allocations: 33.7 kB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1057, allocations: 352.7 kB / 482.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.1058, allocations: 111.1 kB / 482.4 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1059, allocations: 73.69 kB / 482.5 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1061, allocations: 366.8 kB / 482.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1065, allocations: 157.2 kB / 483 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.107, allocations: 258.5 kB / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.1079, allocations: 0.527 MB / 483.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.108, allocations: 4 kB / 483.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001186/0.1092, allocations: 0.6 MB / 484.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.1092, allocations: 89.47 kB / 484.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1092, allocations: 8 kB / 484.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.1094, allocations: 20.86 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1097, allocations: 83.88 kB / 484.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000988/0.1107, allocations: 1.386 MB / 486 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.1112, allocations: 71.67 kB / 486 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.1112, allocations: 24.19 kB / 486.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005716/0.1118, allocations: 320.4 kB / 486.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004239/0.1122, allocations: 238.9 kB / 486.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008311/0.1131, allocations: 0.5226 MB / 487.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.1131, allocations: 0 / 487.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001071/0.1142, allocations: 0.5652 MB / 487.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.1143, allocations: 93.09 kB / 487.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1143, allocations: 4 kB / 487.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.439e-05/0.1144, allocations: 24.8 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1147, allocations: 75.89 kB / 487.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009294/0.1156, allocations: 1.387 MB / 489.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.116, allocations: 59.86 kB / 489.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1161, allocations: 20 kB / 489.4 MB, free: 8.867 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0001871/0.1163, allocations: 275.4 kB / 489.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.1164, allocations: 51.67 kB / 489.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1175, allocations: 0.4922 MB / 490.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1175, allocations: 7.938 kB / 490.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1175, allocations: 3.938 kB / 490.2 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1175, allocations: 0 / 490.2 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1192, allocations: 1.151 MB / 491.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1192, allocations: 0 / 491.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.1196, allocations: 59.89 kB / 491.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/0.1197, allocations: 24.84 kB / 491.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1197, allocations: 12 kB / 491.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000879/0.1206, allocations: 1.375 MB / 492.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1206, allocations: 7.969 kB / 492.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.1221, allocations: 0.7588 MB / 493.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1222, allocations: 136.8 kB / 493.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.1223, allocations: 15.92 kB / 493.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.1227, allocations: 43.95 kB / 493.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1228, allocations: 36 kB / 493.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.1229, allocations: 15.98 kB / 493.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004399/0.1233, allocations: 406.8 kB / 494.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1233, allocations: 0 / 494.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007171/0.1241, allocations: 275.2 kB / 494.5 MB, free: 3.438 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.002505/0.1266, allocations: 1.58 MB / 496.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.1285, allocations: 1.178 MB / 497.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1285, allocations: 0 / 497.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.1292, allocations: 425.3 kB / 497.6 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.1298, allocations: 77.77 kB / 497.7 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/0.1374, allocations: 5.365 MB / 0.4913 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.1378, allocations: 0.8894 MB / 0.4922 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1381, allocations: 63.36 kB / 0.4922 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.1384, allocations: 219.4 kB / 0.4924 GB, free: 9.406 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1384, allocations: 0 / 0.4924 GB, free: 9.406 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/0.3478, allocations: 12.84 MB / 0.505 GB, free: 46.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.44, allocations: 8.125 kB / 0.505 GB, free: 46.7 MB / 382.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn_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_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)