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.0009853/0.0009855, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001152/0.001152, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05298/0.05298, allocations: 10.75 MB / 281.5 MB, free: 10.45 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.0004516/0.0004517, allocations: 12.47 kB / 342.3 MB, free: 23.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08289, allocations: 50 MB / 392.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.001765/0.0847, allocations: 1.588 MB / 393.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.08573, allocations: 0.7029 MB / 394.6 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.08584, allocations: 11.88 kB / 394.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.08595, allocations: 11.86 kB / 394.7 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.08606, allocations: 39.66 kB / 394.7 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.08639, allocations: 119.9 kB / 394.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.08666, allocations: 271.1 kB / 395.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.08682, allocations: 60.95 kB / 395.1 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.08696, allocations: 103.4 kB / 395.2 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.08712, allocations: 111.4 kB / 395.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.08716, allocations: 12 kB / 395.4 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/0.08719, allocations: 8 kB / 395.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.08725, allocations: 39.81 kB / 395.4 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.08737, allocations: 121 kB / 395.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.08759, allocations: 207.4 kB / 395.7 MB, free: 1.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.08761, allocations: 11.98 kB / 395.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08761, allocations: 0 / 395.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.08763, allocations: 0 / 395.7 MB, free: 1.891 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.001078/0.08871, allocations: 0.574 MB / 396.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.08876, allocations: 8.031 kB / 396.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.08884, allocations: 54.73 kB / 396.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.08892, allocations: 36.55 kB / 396.4 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.08925, allocations: 302.3 kB / 396.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-05/0.08934, allocations: 97.39 kB / 396.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.08939, allocations: 16 kB / 396.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.0899, allocations: 223.8 kB / 397 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.08992, allocations: 3.938 kB / 397 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.08995, allocations: 4 kB / 397 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.08996, allocations: 4 kB / 397 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.09053, allocations: 196.4 kB / 397.2 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.09204, allocations: 0.7419 MB / 398 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.09261, allocations: 190.5 kB / 398.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.09292, allocations: 116.8 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.09295, allocations: 0 / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.09342, allocations: 187.1 kB / 398.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.09343, allocations: 0 / 398.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001004/0.09444, allocations: 369.2 kB / 398.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.09449, allocations: 55.39 kB / 398.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.09473, allocations: 232.9 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.09476, allocations: 33.7 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.09487, allocations: 152.3 kB / 399.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.09492, allocations: 47.3 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.09497, allocations: 29.7 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09507, allocations: 334.8 kB / 399.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.09538, allocations: 107.9 kB / 399.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.0957, allocations: 143.3 kB / 399.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.09629, allocations: 261 kB / 400.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0963, allocations: 0 / 400.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007368/0.09704, allocations: 346.7 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.09709, allocations: 36.83 kB / 400.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0971, allocations: 4.094 kB / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.09712, allocations: 0 / 400.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.09852, allocations: 131.8 kB / 400.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.1008, allocations: 2.693 MB / 403.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.101, allocations: 43.81 kB / 403.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.101, allocations: 8.125 kB / 403.4 MB, free: 9.609 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.0001343/0.1012, allocations: 137.8 kB / 403.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1012, allocations: 27.66 kB / 403.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.102, allocations: 299.7 kB / 403.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.102, allocations: 4 kB / 403.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.102, allocations: 4 kB / 403.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.102, allocations: 0 / 403.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.1032, allocations: 0.6814 MB / 404.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1032, allocations: 0 / 404.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.1044, allocations: 111.9 kB / 404.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1045, allocations: 0 / 404.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1045, allocations: 15.92 kB / 404.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1045, allocations: 4 kB / 404.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1045, allocations: 0 / 404.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1055, allocations: 0.4938 MB / 405.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.1056, allocations: 96.83 kB / 405.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1056, allocations: 8.031 kB / 405.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1059, allocations: 35.97 kB / 405.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/0.106, allocations: 23.97 kB / 405.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.106, allocations: 7.984 kB / 405.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1061, allocations: 156.5 kB / 405.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1061, allocations: 0 / 405.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1064, allocations: 51.84 kB / 405.6 MB, free: 7.371 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.001289/0.1077, allocations: 1.036 MB / 406.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.1086, allocations: 335.3 kB / 406.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1087, allocations: 0 / 406.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.109, allocations: 123.9 kB / 407.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1093, allocations: 28.16 kB / 407.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.1132, allocations: 2.715 MB / 409.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1136, allocations: 0.7401 MB / 410.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1137, allocations: 33.94 kB / 410.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.1138, allocations: 75.41 kB / 410.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1138, allocations: 0 / 410.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/0.2739, allocations: 4.555 MB / 415.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.2741, allocations: 267.1 kB / 415.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.419, allocations: 0 / 415.5 MB, free: 13.34 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)