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.007749/0.007749, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001846/0.001846, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.574/1.574, 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.03922/0.03922, allocations: 8.038 MB / 298.6 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 412.6 MB, free: 22.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09101, allocations: 51.19 MB / 463.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005646/0.09671, allocations: 4.12 MB / 467.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.09923, allocations: 1.407 MB / 469.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.09956, allocations: 15.94 kB / 469.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.09999, allocations: 142.9 kB / 469.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.1006, allocations: 206.5 kB / 469.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.1013, allocations: 378.7 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.102, allocations: 0.8373 MB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.1026, allocations: 450.5 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.103, allocations: 326.8 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.1034, allocations: 354.5 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.1035, allocations: 92 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.1037, allocations: 124 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.104, allocations: 203.4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.1043, allocations: 398.1 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1055, allocations: 1.029 MB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1055, allocations: 4 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1055, allocations: 0 / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1055, allocations: 0 / 473.8 MB, free: 9.484 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.001965/0.1075, allocations: 1.098 MB / 474.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1075, allocations: 8.031 kB / 474.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.1077, allocations: 118.6 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.1078, allocations: 84 kB / 475.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.1085, allocations: 0.4971 MB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.1086, allocations: 53.31 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.1087, allocations: 71.84 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1099, allocations: 0.6449 MB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1099, allocations: 0 / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.11, allocations: 28 kB / 476.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.11, allocations: 20 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.111, allocations: 476.9 kB / 476.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.1144, allocations: 2.489 MB / 479.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.1154, allocations: 424 kB / 479.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.1158, allocations: 172.9 kB / 479.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.1158, allocations: 8.219 kB / 480 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.1164, allocations: 257.7 kB / 480.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.1164, allocations: 0 / 480.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001594/0.118, allocations: 0.6933 MB / 480.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.1181, allocations: 132.5 kB / 481 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.1187, allocations: 0.5605 MB / 481.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.1188, allocations: 41.7 kB / 481.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.119, allocations: 339.4 kB / 482 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.1191, allocations: 102.5 kB / 482.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1193, allocations: 77.69 kB / 482.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1194, allocations: 358.8 kB / 482.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.1198, allocations: 165.2 kB / 482.6 MB, free: 196 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.1203, allocations: 254.5 kB / 482.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.1212, allocations: 0.5349 MB / 483.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1212, allocations: 3.938 kB / 483.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00112/0.1223, allocations: 0.5843 MB / 484 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.1224, allocations: 93.05 kB / 484.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1224, allocations: 7.984 kB / 484.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.1226, allocations: 24.8 kB / 484.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1229, allocations: 84.22 kB / 484.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.1239, allocations: 1.382 MB / 485.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1244, allocations: 71.48 kB / 485.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.1244, allocations: 31.91 kB / 485.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005442/0.125, allocations: 316.5 kB / 486 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004221/0.1254, allocations: 242.9 kB / 486.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000779/0.1262, allocations: 0.5148 MB / 486.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1262, allocations: 0 / 486.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001065/0.1273, allocations: 0.5609 MB / 487.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.1274, allocations: 93.11 kB / 487.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1274, allocations: 4.359 kB / 487.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.379e-05/0.1275, allocations: 28.86 kB / 487.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.1278, allocations: 75.89 kB / 487.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00088/0.1286, allocations: 1.375 MB / 488.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.1291, allocations: 63.64 kB / 489 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.1291, allocations: 16 kB / 489 MB, free: 9.25 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.0002071/0.1293, allocations: 283.4 kB / 489.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.1294, allocations: 55.34 kB / 489.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1305, allocations: 0.4921 MB / 489.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1305, allocations: 0 / 489.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1305, allocations: 0 / 489.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1305, allocations: 4 kB / 489.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1323, allocations: 1.132 MB / 490.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1323, allocations: 0 / 490.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1326, allocations: 59.89 kB / 491 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.411e-05/0.1327, allocations: 20.86 kB / 491 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.1327, allocations: 15.92 kB / 491 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009484/0.1337, allocations: 1.374 MB / 492.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1337, allocations: 0 / 492.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.1352, allocations: 0.7741 MB / 493.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1353, allocations: 132.5 kB / 493.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.1354, allocations: 8 kB / 493.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.1358, allocations: 43.95 kB / 493.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1359, allocations: 35.89 kB / 493.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1359, allocations: 12 kB / 493.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000478/0.1364, allocations: 406.8 kB / 493.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1364, allocations: 4 kB / 493.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007943/0.1372, allocations: 266.9 kB / 494.1 MB, free: 3.848 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.002459/0.1397, allocations: 1.572 MB / 495.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.1416, allocations: 1.166 MB / 496.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1416, allocations: 0 / 496.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.1422, allocations: 430.1 kB / 497.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.1427, allocations: 93.8 kB / 497.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.1501, allocations: 5.317 MB / 0.4909 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1506, allocations: 0.8855 MB / 0.4917 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.1509, allocations: 63.36 kB / 0.4918 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.1512, allocations: 215.3 kB / 0.492 GB, free: 9.875 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1512, allocations: 0 / 0.492 GB, free: 9.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2342/0.3854, allocations: 12.75 MB / 0.5044 GB, free: 47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.79, allocations: 1.875 kB / 0.5044 GB, free: 47 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestOneFlange.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)