Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001017/0.001017, 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.001076/0.001076, 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.904/0.904, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.03561/0.03561, allocations: 8.61 MB / 267.8 MB, free: 5.117 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.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 395.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.03e-05, allocations: 2.281 kB / 395.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002437/0.002457, allocations: 1.727 MB / 396.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003537, allocations: 0.592 MB / 397.4 MB, free: 320 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.003695, allocations: 11.88 kB / 397.4 MB, free: 308 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003811, allocations: 15.8 kB / 397.4 MB, free: 292 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.003945, allocations: 43.59 kB / 397.5 MB, free: 248 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.004248, allocations: 95.73 kB / 397.6 MB, free: 152 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004486, allocations: 215.2 kB / 397.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004598, allocations: 25.78 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.004728, allocations: 115.7 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.004822, allocations: 67.83 kB / 398 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.004857, allocations: 16 kB / 398 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.004876, allocations: 16 kB / 398 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.004912, allocations: 35.84 kB / 398 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.004975, allocations: 55.83 kB / 398.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.005172, allocations: 187.3 kB / 398.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005175, allocations: 0 / 398.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005177, allocations: 0 / 398.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005182, allocations: 0 / 398.3 MB, free: 15.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007798/0.005962, allocations: 0.5045 MB / 398.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.006004, allocations: 12.03 kB / 398.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.006044, allocations: 46.73 kB / 398.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.006096, allocations: 20.78 kB / 398.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.006431, allocations: 194 kB / 399.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.006497, allocations: 71.89 kB / 399.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.00653, allocations: 20.38 kB / 399.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.006878, allocations: 188.6 kB / 399.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.006888, allocations: 192 / 399.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.006908, allocations: 15.92 kB / 399.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006913, allocations: 0 / 399.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.007243, allocations: 160.7 kB / 399.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.007968, allocations: 0.5701 MB / 400.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.008314, allocations: 154.4 kB / 400.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.008474, allocations: 80.78 kB / 400.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.008486, allocations: 0 / 400.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.008781, allocations: 159.4 kB / 400.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.008783, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006102/0.009393, allocations: 300.8 kB / 400.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.009433, allocations: 55.39 kB / 400.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.009585, allocations: 211.8 kB / 401 MB, free: 12.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.009606, allocations: 33.64 kB / 401 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.009683, allocations: 136.2 kB / 401.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.00971, allocations: 39.72 kB / 401.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.009779, allocations: 49.7 kB / 401.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.009877, allocations: 330.8 kB / 401.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.01009, allocations: 151.2 kB / 401.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.0103, allocations: 193.3 kB / 401.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.01066, allocations: 265.2 kB / 402.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01066, allocations: 7.938 kB / 402.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004831/0.01114, allocations: 400.9 kB / 402.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.01119, allocations: 63.39 kB / 402.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.0112, allocations: 7.938 kB / 402.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01121, allocations: 0 / 402.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.01143, allocations: 68.08 kB / 402.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01143, allocations: 0 / 402.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01157, allocations: 47.84 kB / 402.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01158, allocations: 8 kB / 402.8 MB, free: 10.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * 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 8.752e-05/0.01167, allocations: 133.7 kB / 402.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01169, allocations: 19.91 kB / 402.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.01173, allocations: 29.39 kB / 403 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01173, allocations: 4 kB / 403 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01174, allocations: 0 / 403 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.01174, allocations: 3.984 kB / 403 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01189, allocations: 196.6 kB / 403.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01189, allocations: 0 / 403.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.0121, allocations: 47.94 kB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.0121, allocations: 8 kB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.01212, allocations: 7.938 kB / 403.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.01212, allocations: 0 / 403.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01212, allocations: 0 / 403.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.01273, allocations: 348.7 kB / 403.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01275, allocations: 15.89 kB / 403.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01278, allocations: 15.94 kB / 403.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01288, allocations: 27.95 kB / 403.6 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.01296, allocations: 27.95 kB / 403.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01297, allocations: 4 kB / 403.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.363e-05/0.01306, allocations: 145.5 kB / 403.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01306, allocations: 0 / 403.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01325, allocations: 43.98 kB / 403.8 MB, free: 9.445 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008511/0.0141, allocations: 0.8778 MB / 404.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.01467, allocations: 373 kB / 405.1 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01467, allocations: 0 / 405.1 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.01488, allocations: 104.2 kB / 405.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.01518, allocations: 33.69 kB / 405.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.01871, allocations: 2.534 MB / 407.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.01881, allocations: 108.2 kB / 407.8 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.01891, allocations: 21.48 kB / 407.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.01902, allocations: 52.47 kB / 407.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of SimCode: time 1.143e-06/0.01902, allocations: 0 / 407.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.04066, allocations: 5.264 MB / 413.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.022, allocations: 18.08 kB / 413.2 MB, free: 15.97 MB / 394.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.870131934061646] Failed to read output from testmodel.py, exit status != 0: 7.108753020875156 7.119550093 7.112495341 Calling exit ...