Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",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.001535/0.001535, 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.002388/0.002388, allocations: 190.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05514/0.05514, allocations: 10.75 MB / 280.2 MB, free: 10.66 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 64.47 kB / 340.1 MB, free: 23.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 49.01 MB / 389.2 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003441/0.1161, allocations: 1.935 MB / 391.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1174, allocations: 0.7184 MB / 391.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1176, allocations: 7.938 kB / 391.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1177, allocations: 19.8 kB / 391.8 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1178, allocations: 27.73 kB / 391.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1182, allocations: 119.8 kB / 392 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.1186, allocations: 299.1 kB / 392.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1188, allocations: 52.95 kB / 392.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.119, allocations: 127.5 kB / 392.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1192, allocations: 115.4 kB / 392.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.1193, allocations: 28 kB / 392.6 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.1193, allocations: 20 kB / 392.6 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1194, allocations: 63.69 kB / 392.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1195, allocations: 107.4 kB / 392.8 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1198, allocations: 223.4 kB / 393 MB, free: 2.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1198, allocations: 0 / 393 MB, free: 2.645 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1198, allocations: 4 kB / 393 MB, free: 2.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1198, allocations: 0 / 393 MB, free: 2.641 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001227/0.121, allocations: 0.6017 MB / 393.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.1211, allocations: 11.89 kB / 393.6 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.1212, allocations: 46.75 kB / 393.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.1212, allocations: 40.53 kB / 393.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1216, allocations: 302.3 kB / 394 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1217, allocations: 101.4 kB / 394.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1218, allocations: 19.94 kB / 394.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.1223, allocations: 207.8 kB / 394.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1223, allocations: 0 / 394.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1223, allocations: 4 kB / 394.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1223, allocations: 4 kB / 394.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.1229, allocations: 172.3 kB / 394.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.1244, allocations: 0.7107 MB / 395.2 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.1249, allocations: 170.5 kB / 395.4 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.1252, allocations: 92.86 kB / 395.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.1253, allocations: 4 kB / 395.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.1259, allocations: 179 kB / 395.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.1259, allocations: 0 / 395.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009962/0.1269, allocations: 325.2 kB / 396 MB, free: 15.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.127, allocations: 59.41 kB / 396 MB, free: 15.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1272, allocations: 228.9 kB / 396.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1273, allocations: 33.7 kB / 396.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1274, allocations: 152.3 kB / 396.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.1274, allocations: 51.3 kB / 396.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.1275, allocations: 45.69 kB / 396.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1277, allocations: 334.8 kB / 396.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.128, allocations: 91.94 kB / 396.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.1283, allocations: 127.2 kB / 397.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.1289, allocations: 238 kB / 397.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1289, allocations: 0 / 397.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007114/0.1296, allocations: 310.8 kB / 397.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.1297, allocations: 33.7 kB / 397.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1297, allocations: 3.984 kB / 397.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1297, allocations: 0 / 397.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.1311, allocations: 127.9 kB / 397.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.1336, allocations: 2.886 MB / 400.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1339, allocations: 35.81 kB / 400.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.134, allocations: 8 kB / 400.7 MB, free: 10.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.1342, allocations: 137.8 kB / 400.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1342, allocations: 23.7 kB / 400.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.1349, allocations: 283.5 kB / 401.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1349, allocations: 4 kB / 401.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1349, allocations: 4 kB / 401.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1349, allocations: 0 / 401.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.136, allocations: 0.6425 MB / 401.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.136, allocations: 0 / 401.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.1373, allocations: 107.9 kB / 401.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1373, allocations: 0 / 401.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1373, allocations: 4 kB / 401.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1373, allocations: 7.922 kB / 401.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1373, allocations: 0 / 401.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.1383, allocations: 461.9 kB / 402.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.1384, allocations: 88.92 kB / 402.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1384, allocations: 11.94 kB / 402.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1386, allocations: 28 kB / 402.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.1387, allocations: 23.97 kB / 402.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1388, allocations: 8 kB / 402.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1389, allocations: 164.3 kB / 402.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1389, allocations: 0 / 402.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1392, allocations: 51.84 kB / 402.7 MB, free: 8.238 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001348/0.1406, allocations: 0.9931 MB / 403.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009952/0.1416, allocations: 307.3 kB / 404 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1416, allocations: 0 / 404 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.1419, allocations: 118.1 kB / 404.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1423, allocations: 32.36 kB / 404.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.1465, allocations: 2.617 MB / 406.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1468, allocations: 0.748 MB / 407.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.147, allocations: 33.94 kB / 407.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1472, allocations: 71.42 kB / 407.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1472, allocations: 0 / 407.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1733, allocations: 4.812 MB / 412.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.1737, allocations: 264.1 kB / 412.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.301, allocations: 0 / 412.7 MB, free: 14.11 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)