Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.0007853/0.0007853, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008575/0.0008575, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9142/0.9142, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03427/0.03427, allocations: 8.602 MB / 267.8 MB, free: 5.125 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.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.71e-05, allocations: 6.219 kB / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002503/0.002521, allocations: 1.765 MB / 396.8 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000869/0.00339, allocations: 0.6232 MB / 397.5 MB, free: 268 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.003481, allocations: 19.75 kB / 397.5 MB, free: 248 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.143e-05/0.003562, allocations: 19.73 kB / 397.5 MB, free: 228 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.003624, allocations: 39.61 kB / 397.5 MB, free: 188 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.003854, allocations: 111.7 kB / 397.7 MB, free: 76 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.004091, allocations: 235.2 kB / 397.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004202, allocations: 40.8 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004327, allocations: 123.8 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.004408, allocations: 75.69 kB / 398.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.004435, allocations: 20 kB / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.004453, allocations: 16 kB / 398.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.004488, allocations: 51.77 kB / 398.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.004541, allocations: 59.81 kB / 398.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.004709, allocations: 199.3 kB / 398.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004711, allocations: 0 / 398.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004711, allocations: 0 / 398.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004715, allocations: 0 / 398.5 MB, free: 15.26 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006437/0.005359, allocations: 0.4991 MB / 399 MB, free: 14.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.005389, allocations: 8.031 kB / 399 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.00542, allocations: 50.73 kB / 399 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.005459, allocations: 28.75 kB / 399 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.005703, allocations: 229 kB / 399.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.005765, allocations: 97.66 kB / 399.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.005794, allocations: 20.38 kB / 399.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.006047, allocations: 178.1 kB / 399.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.006054, allocations: 192 / 399.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.006068, allocations: 7.938 kB / 399.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.006073, allocations: 4 kB / 399.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.006325, allocations: 151.8 kB / 399.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.006945, allocations: 0.4993 MB / 400.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.00719, allocations: 146.4 kB / 400.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.007311, allocations: 76.73 kB / 400.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.007327, allocations: 0 / 400.4 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.007652, allocations: 139.3 kB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.007653, allocations: 0 / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004636/0.008117, allocations: 281.5 kB / 400.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.008143, allocations: 55.41 kB / 400.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.008261, allocations: 211.1 kB / 401.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008276, allocations: 29.7 kB / 401.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.00834, allocations: 144.4 kB / 401.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.008365, allocations: 43.61 kB / 401.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.008415, allocations: 41.7 kB / 401.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.00849, allocations: 330.8 kB / 401.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.008638, allocations: 113.6 kB / 401.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.008794, allocations: 141 kB / 401.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.00913, allocations: 199.2 kB / 402.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009132, allocations: 0 / 402.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003491/0.009481, allocations: 303.6 kB / 402.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.009505, allocations: 40.34 kB / 402.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.009509, allocations: 0 / 402.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.009517, allocations: 8.031 kB / 402.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.009831, allocations: 67.95 kB / 402.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.009837, allocations: 3.984 kB / 402.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.009932, allocations: 35.86 kB / 402.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.00994, allocations: 8 kB / 402.6 MB, free: 10.86 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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 7.856e-05/0.01002, allocations: 134.3 kB / 402.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.01004, allocations: 23.8 kB / 402.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.01006, allocations: 21.45 kB / 402.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01007, allocations: 3.984 kB / 402.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01007, allocations: 4 kB / 402.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01007, allocations: 3.938 kB / 402.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.01023, allocations: 228.5 kB / 403 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.01023, allocations: 0 / 403 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.01057, allocations: 71.94 kB / 403.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.01057, allocations: 0 / 403.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01058, allocations: 4 kB / 403.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.01058, allocations: 0 / 403.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01059, allocations: 3.984 kB / 403.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.01105, allocations: 320.6 kB / 403.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.01107, allocations: 19.84 kB / 403.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01109, allocations: 8 kB / 403.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.01117, allocations: 24 kB / 403.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.01123, allocations: 27.97 kB / 403.5 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.01123, allocations: 4 kB / 403.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.01131, allocations: 148.6 kB / 403.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01131, allocations: 0 / 403.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.01146, allocations: 35.95 kB / 403.6 MB, free: 9.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0008621/0.01232, allocations: 0.8546 MB / 404.5 MB, free: 8.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.01267, allocations: 260.8 kB / 404.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01267, allocations: 0 / 404.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01281, allocations: 88.06 kB / 404.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.01297, allocations: 28.66 kB / 404.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.01494, allocations: 2.319 MB / 407.2 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.441e-05/0.015, allocations: 125.2 kB / 407.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.01507, allocations: 21.48 kB / 407.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.01514, allocations: 64.47 kB / 407.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01514, allocations: 0 / 407.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.0336, allocations: 4.971 MB / 412.4 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.86, allocations: 14.75 kB / 412.4 MB, free: 0.9492 MB / 378.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.61251699179411] Failed to read output from testmodel.py, exit status != 0: 6.942796579562128 6.951266816 6.944479966 Calling exit ...