Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.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.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",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.001801/0.001801, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002057/0.002057, allocations: 195.9 kB / 16.26 MB, free: 6.621 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1438/0.1438, allocations: 8.928 MB / 299 MB, free: 2.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 361.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09972, allocations: 51.47 MB / 412.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003243/0.103, allocations: 1.926 MB / 414.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.105, allocations: 1.437 MB / 416.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.1051, allocations: 3.938 kB / 416.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1054, allocations: 107.7 kB / 416.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1057, allocations: 99.66 kB / 416.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1061, allocations: 171.1 kB / 416.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.1064, allocations: 267.3 kB / 416.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1066, allocations: 40.27 kB / 416.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1067, allocations: 111.6 kB / 417 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.107, allocations: 131.5 kB / 417.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.107, allocations: 16 kB / 417.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1072, allocations: 79.91 kB / 417.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1073, allocations: 47.83 kB / 417.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1074, allocations: 103.3 kB / 417.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1077, allocations: 271.2 kB / 417.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1077, allocations: 0 / 417.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1077, allocations: 0 / 417.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1078, allocations: 0 / 417.7 MB, free: 5.055 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008269/0.1086, allocations: 0.6068 MB / 418.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1086, allocations: 15.89 kB / 418.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1087, allocations: 42.75 kB / 418.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.1088, allocations: 28.66 kB / 418.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1091, allocations: 275.5 kB / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1091, allocations: 8.375 kB / 418.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1091, allocations: 15.94 kB / 418.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1095, allocations: 161.6 kB / 418.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1095, allocations: 0 / 418.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1095, allocations: 4 kB / 418.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1096, allocations: 0 / 418.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.1098, allocations: 95.92 kB / 418.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1108, allocations: 0.512 MB / 419.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.1111, allocations: 106.5 kB / 419.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1113, allocations: 80.86 kB / 419.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1113, allocations: 0 / 419.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1113, allocations: 34.56 kB / 419.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1114, allocations: 4 kB / 419.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006825/0.112, allocations: 300.9 kB / 419.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.1121, allocations: 140.5 kB / 420.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1126, allocations: 362.9 kB / 420.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1126, allocations: 29.64 kB / 420.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1127, allocations: 152 kB / 420.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1128, allocations: 31.55 kB / 420.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.1128, allocations: 33.72 kB / 420.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.113, allocations: 334.8 kB / 421 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1132, allocations: 59.95 kB / 421.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1133, allocations: 65.69 kB / 421.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.1137, allocations: 231.5 kB / 421.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1137, allocations: 0 / 421.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004426/0.1141, allocations: 248.8 kB / 421.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.1142, allocations: 59.41 kB / 421.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1142, allocations: 0 / 421.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1142, allocations: 7.938 kB / 421.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1143, allocations: 15.98 kB / 421.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1144, allocations: 7.938 kB / 421.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.1146, allocations: 35.89 kB / 421.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1146, allocations: 8 kB / 421.7 MB, free: 0.6641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.1148, allocations: 213.2 kB / 421.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.1149, allocations: 31.61 kB / 422 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.1154, allocations: 274.7 kB / 422.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1154, allocations: 0 / 422.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1155, allocations: 0 / 422.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1155, allocations: 3.984 kB / 422.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1749/0.2904, allocations: 273.4 kB / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2904, allocations: 0 / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.2906, allocations: 15.61 kB / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2906, allocations: 1.75 kB / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.2906, allocations: 10.14 kB / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2906, allocations: 0 / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2906, allocations: 0 / 422.5 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.2912, allocations: 353.4 kB / 422.9 MB, free: 43.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.2913, allocations: 119.6 kB / 423 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.2914, allocations: 7.969 kB / 423 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.2917, allocations: 33.11 kB / 423 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.2917, allocations: 17.72 kB / 423.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2918, allocations: 3.781 kB / 423.1 MB, free: 43.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.292, allocations: 270.8 kB / 423.3 MB, free: 43.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.292, allocations: 0 / 423.3 MB, free: 43.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.2924, allocations: 55.78 kB / 423.4 MB, free: 43.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001945/0.2943, allocations: 1.175 MB / 424.5 MB, free: 42.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.2948, allocations: 264.5 kB / 424.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2948, allocations: 0 / 424.8 MB, free: 42.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.295, allocations: 206.7 kB / 425 MB, free: 42.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2955, allocations: 48.34 kB / 425.1 MB, free: 42.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.2982, allocations: 2.512 MB / 427.6 MB, free: 41.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2984, allocations: 0.7464 MB / 428.3 MB, free: 40.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.2985, allocations: 28.67 kB / 428.3 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.2986, allocations: 73.91 kB / 428.4 MB, free: 40.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2986, allocations: 0 / 428.4 MB, free: 40.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3194, allocations: 5.607 MB / 434 MB, free: 39.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.3196, allocations: 240.6 kB / 434.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.36, allocations: 7.938 kB / 434.3 MB, free: 39.29 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1)