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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9148/0.9148, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03682/0.03682, allocations: 8.61 MB / 267.8 MB, free: 5.105 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 395.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.215e-05, allocations: 9.172 kB / 395.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002393/0.002415, allocations: 1.818 MB / 396.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.003388, allocations: 0.6823 MB / 397.6 MB, free: 120 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003508, allocations: 23.75 kB / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.00363, allocations: 31.61 kB / 397.6 MB, free: 64 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.003721, allocations: 47.58 kB / 397.7 MB, free: 16 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.004061, allocations: 127.8 kB / 397.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.004348, allocations: 310.8 kB / 398.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.004484, allocations: 41.12 kB / 398.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.004642, allocations: 175.6 kB / 398.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.00476, allocations: 87.67 kB / 398.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.004792, allocations: 20 kB / 398.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.004813, allocations: 24 kB / 398.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.004857, allocations: 55.81 kB / 398.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.00492, allocations: 67.75 kB / 398.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.005169, allocations: 243.1 kB / 398.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005172, allocations: 0 / 398.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005174, allocations: 0 / 398.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005178, allocations: 4 kB / 398.8 MB, free: 14.88 MB / 378.7 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.0007939/0.005972, allocations: 0.5379 MB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.006015, allocations: 8.031 kB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.006064, allocations: 54.73 kB / 399.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.006121, allocations: 36.75 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.006495, allocations: 248.7 kB / 399.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.006564, allocations: 93.95 kB / 399.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.006602, allocations: 31.92 kB / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.006932, allocations: 204.5 kB / 400 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.00694, allocations: 0 / 400 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.006957, allocations: 4 kB / 400 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.006962, allocations: 4 kB / 400 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.007279, allocations: 172.6 kB / 400.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.008217, allocations: 0.6363 MB / 400.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.008538, allocations: 166.5 kB / 401 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.008698, allocations: 92.78 kB / 401.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.008722, allocations: 0 / 401.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.009005, allocations: 179.1 kB / 401.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.009007, allocations: 0 / 401.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000614/0.009621, allocations: 326.7 kB / 401.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.00966, allocations: 59.41 kB / 401.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.009822, allocations: 229.9 kB / 401.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.009842, allocations: 29.7 kB / 401.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.009926, allocations: 152.4 kB / 402 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.009962, allocations: 51.59 kB / 402.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.01003, allocations: 49.64 kB / 402.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.01012, allocations: 338.7 kB / 402.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.01031, allocations: 121.6 kB / 402.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01049, allocations: 164 kB / 402.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.01081, allocations: 229 kB / 403 MB, free: 10.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01081, allocations: 4 kB / 403 MB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004296/0.01124, allocations: 340.6 kB / 403.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01127, allocations: 37.69 kB / 403.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01128, allocations: 0 / 403.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01129, allocations: 4 kB / 403.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.012, allocations: 123.9 kB / 403.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.01348, allocations: 2.675 MB / 406.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.01362, allocations: 43.84 kB / 406.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01363, allocations: 4 kB / 406.2 MB, free: 6.984 MB / 378.7 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.0001099/0.01374, allocations: 140.9 kB / 406.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.01376, allocations: 23.86 kB / 406.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.01419, allocations: 271.6 kB / 406.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01419, allocations: 4 kB / 406.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01419, allocations: 0 / 406.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01419, allocations: 3.984 kB / 406.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.01488, allocations: 0.6016 MB / 407.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01488, allocations: 0 / 407.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.01549, allocations: 107.9 kB / 407.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01549, allocations: 0 / 407.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.0155, allocations: 4 kB / 407.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01551, allocations: 7.938 kB / 407.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01551, allocations: 0 / 407.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.01608, allocations: 463 kB / 407.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.0161, allocations: 23.84 kB / 407.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01612, allocations: 11.98 kB / 407.8 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01623, allocations: 24 kB / 407.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.01629, allocations: 27.91 kB / 407.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.0163, allocations: 4 kB / 407.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.319e-05/0.01639, allocations: 165.2 kB / 408 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01639, allocations: 0 / 408 MB, free: 5.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.0166, allocations: 44 kB / 408.1 MB, free: 5 MB / 378.7 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.0007458/0.01735, allocations: 0.9932 MB / 409.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.01791, allocations: 319.4 kB / 409.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01791, allocations: 0 / 409.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.01809, allocations: 116 kB / 409.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01832, allocations: 35.23 kB / 409.5 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.02082, allocations: 2.68 MB / 412.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.02091, allocations: 138.2 kB / 412.4 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.021, allocations: 33.88 kB / 412.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.0211, allocations: 76.47 kB / 412.5 MB, free: 444 kB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02111, allocations: 4 kB / 412.5 MB, free: 440 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.04123, allocations: 5.944 MB / 418.4 MB, free: 10.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.022, allocations: 11.78 kB / 418.4 MB, free: 10.64 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL_res.csv --start-time 0 --stop-time 22 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0088 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.919166694395244] Failed to read output from testmodel.py, exit status != 0: 8.11341793462634 8.129425862 8.121111521 Calling exit ...