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.007154/0.007154, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001444/0.001444, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04/0.04, allocations: 8.038 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 59.91 kB / 412.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.0909, allocations: 51.19 MB / 463.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005624/0.09656, allocations: 4.142 MB / 467.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.09917, allocations: 1.426 MB / 469.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.09964, allocations: 15.94 kB / 469.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.1001, allocations: 146.8 kB / 469.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006383/0.1008, allocations: 210.5 kB / 469.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.1016, allocations: 381.9 kB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.1025, allocations: 0.8494 MB / 470.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007115/0.1033, allocations: 495.6 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.1037, allocations: 338.8 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.1042, allocations: 354.5 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1044, allocations: 96 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1046, allocations: 132 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.1048, allocations: 199.4 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.1053, allocations: 414 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1064, allocations: 1.048 MB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1064, allocations: 0 / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1064, allocations: 3.938 kB / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.1064, allocations: 4 kB / 474 MB, free: 9.301 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.002109/0.1086, allocations: 1.112 MB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1086, allocations: 16.03 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.1088, allocations: 106.7 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.109, allocations: 87.91 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.1098, allocations: 0.513 MB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.1098, allocations: 45.31 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.11, allocations: 71.94 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1112, allocations: 0.6722 MB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1112, allocations: 3.906 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.1113, allocations: 28 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1113, allocations: 16 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1124, allocations: 488.9 kB / 477.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.1159, allocations: 2.555 MB / 479.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008983/0.1168, allocations: 424.1 kB / 480.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.1172, allocations: 172.9 kB / 480.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1172, allocations: 12.17 kB / 480.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.1178, allocations: 257.7 kB / 480.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.1178, allocations: 0 / 480.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001481/0.1193, allocations: 0.6856 MB / 481.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.1193, allocations: 140.5 kB / 481.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.12, allocations: 0.5644 MB / 481.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.12, allocations: 37.7 kB / 481.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1202, allocations: 344 kB / 482.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.1203, allocations: 106.5 kB / 482.4 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1205, allocations: 77.59 kB / 482.4 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1206, allocations: 362.8 kB / 482.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.121, allocations: 161.1 kB / 483 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1215, allocations: 254.5 kB / 483.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.1223, allocations: 0.5348 MB / 483.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1223, allocations: 0 / 483.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/0.1235, allocations: 0.5921 MB / 484.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.1235, allocations: 93.09 kB / 484.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1236, allocations: 4 kB / 484.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.1237, allocations: 24.84 kB / 484.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.124, allocations: 76.23 kB / 484.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009645/0.125, allocations: 1.394 MB / 485.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.1255, allocations: 71.58 kB / 486 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.1255, allocations: 23.94 kB / 486 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005245/0.126, allocations: 320.4 kB / 486.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003981/0.1264, allocations: 242.9 kB / 486.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007833/0.1272, allocations: 0.5187 MB / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.1272, allocations: 0 / 487.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001055/0.1283, allocations: 0.561 MB / 487.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.1284, allocations: 93.47 kB / 487.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1284, allocations: 8 kB / 487.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.303e-05/0.1285, allocations: 32.72 kB / 487.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1288, allocations: 71.89 kB / 487.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/0.1296, allocations: 1.375 MB / 489.2 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1301, allocations: 59.7 kB / 489.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1301, allocations: 24.09 kB / 489.3 MB, free: 8.918 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.0001972/0.1303, allocations: 275.4 kB / 489.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.1304, allocations: 51.42 kB / 489.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1314, allocations: 0.4921 MB / 490.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1314, allocations: 4 kB / 490.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1314, allocations: 3.938 kB / 490.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1315, allocations: 3.984 kB / 490.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.1332, allocations: 1.151 MB / 491.3 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1332, allocations: 0 / 491.3 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.1335, allocations: 55.89 kB / 491.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-05/0.1336, allocations: 20.86 kB / 491.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.1337, allocations: 19.98 kB / 491.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009244/0.1346, allocations: 1.363 MB / 492.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1346, allocations: 8.125 kB / 492.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.136, allocations: 0.7662 MB / 493.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1361, allocations: 132.5 kB / 493.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.1362, allocations: 15.94 kB / 493.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.1366, allocations: 39.95 kB / 493.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1367, allocations: 35.95 kB / 493.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.1367, allocations: 8 kB / 493.7 MB, free: 4.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004603/0.1372, allocations: 410.8 kB / 494.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1372, allocations: 3.938 kB / 494.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.138, allocations: 274.8 kB / 494.4 MB, free: 3.5 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.002375/0.1403, allocations: 1.576 MB / 496 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.1423, allocations: 1.166 MB / 497.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1423, allocations: 0 / 497.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.1429, allocations: 430.1 kB / 497.6 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.1434, allocations: 86.17 kB / 497.6 MB, free: 216 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.1512, allocations: 5.328 MB / 0.4912 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1517, allocations: 0.8972 MB / 0.4921 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1519, allocations: 67.28 kB / 0.4921 GB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.1522, allocations: 215.4 kB / 0.4923 GB, free: 9.496 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1522, allocations: 4 kB / 0.4923 GB, free: 9.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2608/0.413, allocations: 12.84 MB / 0.5049 GB, free: 46.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.73, allocations: 4.094 kB / 0.5049 GB, free: 46.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)