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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.005394/0.005394, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001542/0.001542, allocations: 195.8 kB / 16.68 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.378/1.378, 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/package.mo): time 0.04145/0.04145, allocations: 8.041 MB / 298.6 MB, free: 6.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 75.88 kB / 412.6 MB, free: 22.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08827, allocations: 51.18 MB / 463.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006021/0.09434, allocations: 4.145 MB / 467.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.09708, allocations: 1.426 MB / 469.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.09745, allocations: 15.94 kB / 469.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.09793, allocations: 150.8 kB / 469.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.09846, allocations: 198.5 kB / 469.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.0992, allocations: 382.1 kB / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008595/0.1001, allocations: 0.8495 MB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006676/0.1008, allocations: 0.4917 MB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.1011, allocations: 318.9 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.1015, allocations: 366.4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1017, allocations: 96 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.1019, allocations: 124 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.1021, allocations: 203.4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.1025, allocations: 414 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1037, allocations: 1.055 MB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1037, allocations: 0 / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1037, allocations: 0 / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1037, allocations: 0 / 473.9 MB, free: 9.328 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.001899/0.1056, allocations: 1.138 MB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1056, allocations: 8.031 kB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.1058, allocations: 114.7 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1059, allocations: 88.38 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.1068, allocations: 0.5173 MB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.1068, allocations: 49.31 kB / 475.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1069, allocations: 71.95 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1083, allocations: 0.6644 MB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1084, allocations: 11.92 kB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.1084, allocations: 28 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1085, allocations: 12 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1096, allocations: 489 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.1134, allocations: 2.564 MB / 479.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.1144, allocations: 434.9 kB / 480.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.1148, allocations: 169 kB / 480.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1149, allocations: 8.172 kB / 480.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005758/0.1155, allocations: 257.7 kB / 480.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.1155, allocations: 0 / 480.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001658/0.1171, allocations: 0.6859 MB / 481.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.1172, allocations: 140.4 kB / 481.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.1179, allocations: 0.5645 MB / 481.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.118, allocations: 33.7 kB / 482 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.1183, allocations: 356.7 kB / 482.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.1184, allocations: 107.1 kB / 482.4 MB, free: 468 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1185, allocations: 77.69 kB / 482.5 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1187, allocations: 362.8 kB / 482.8 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.1191, allocations: 161.2 kB / 483 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.1197, allocations: 254.5 kB / 483.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.1207, allocations: 0.5309 MB / 483.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1207, allocations: 4 kB / 483.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001232/0.1219, allocations: 0.5963 MB / 484.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.122, allocations: 89.09 kB / 484.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.122, allocations: 4 kB / 484.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.1222, allocations: 20.86 kB / 484.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1225, allocations: 87.81 kB / 484.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1237, allocations: 1.39 MB / 486 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.1242, allocations: 71.84 kB / 486 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1242, allocations: 20 kB / 486 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005833/0.1248, allocations: 312.5 kB / 486.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004472/0.1253, allocations: 250.9 kB / 486.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008776/0.1262, allocations: 0.5148 MB / 487.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.1262, allocations: 3.984 kB / 487.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001136/0.1273, allocations: 0.569 MB / 487.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.1274, allocations: 89.09 kB / 487.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1274, allocations: 4 kB / 487.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-05/0.1275, allocations: 29.17 kB / 487.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.1278, allocations: 83.86 kB / 487.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1289, allocations: 1.379 MB / 489.3 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.1294, allocations: 55.8 kB / 489.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1294, allocations: 20 kB / 489.3 MB, free: 8.891 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.0002318/0.1296, allocations: 275.5 kB / 489.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.1297, allocations: 59.61 kB / 489.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.1309, allocations: 500 kB / 490.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1309, allocations: 4 kB / 490.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1309, allocations: 3.938 kB / 490.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1309, allocations: 0 / 490.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.1328, allocations: 1.147 MB / 491.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1329, allocations: 0 / 491.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.1332, allocations: 67.88 kB / 491.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.1333, allocations: 16.86 kB / 491.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.1333, allocations: 15.98 kB / 491.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1344, allocations: 1.382 MB / 492.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1344, allocations: 3.938 kB / 492.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.136, allocations: 0.7627 MB / 493.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.1362, allocations: 148.7 kB / 493.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.1363, allocations: 11.94 kB / 493.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.1366, allocations: 39.95 kB / 493.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1367, allocations: 27.97 kB / 493.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.1368, allocations: 15.98 kB / 493.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005147/0.1373, allocations: 410.8 kB / 494.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1373, allocations: 0 / 494.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008014/0.1381, allocations: 279.2 kB / 494.5 MB, free: 3.453 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.003116/0.1412, allocations: 1.57 MB / 496 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.1434, allocations: 1.17 MB / 497.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1434, allocations: 0 / 497.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.1441, allocations: 426.1 kB / 497.6 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1447, allocations: 90.67 kB / 497.7 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008086/0.1528, allocations: 5.354 MB / 0.4913 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.1534, allocations: 0.8933 MB / 0.4922 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1536, allocations: 63.36 kB / 0.4922 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.1539, allocations: 215.4 kB / 0.4924 GB, free: 9.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.154, allocations: 0 / 0.4924 GB, free: 9.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/0.3941, allocations: 12.84 MB / 0.505 GB, free: 47.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 0.7812 kB / 0.505 GB, free: 47.3 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)