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.0008242/0.0008242, 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.001063/0.001063, 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.9296/0.9296, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.03555/0.03555, allocations: 8.611 MB / 267.8 MB, free: 5.109 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.753e-06/1.753e-06, allocations: 0 / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.047e-05, allocations: 6.219 kB / 395.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002558/0.002578, allocations: 1.709 MB / 396.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.003489, allocations: 0.5997 MB / 397.4 MB, free: 332 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.003612, allocations: 7.938 kB / 397.4 MB, free: 324 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003722, allocations: 19.73 kB / 397.4 MB, free: 304 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.003802, allocations: 43.66 kB / 397.5 MB, free: 260 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.004084, allocations: 83.75 kB / 397.5 MB, free: 176 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.004314, allocations: 223.2 kB / 397.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004436, allocations: 21.8 kB / 397.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.004569, allocations: 119.6 kB / 397.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.004661, allocations: 63.84 kB / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.00469, allocations: 16 kB / 398 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.00471, allocations: 20 kB / 398 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.004747, allocations: 35.83 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.00481, allocations: 63.81 kB / 398.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005001, allocations: 175.4 kB / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.005004, allocations: 0 / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005005, allocations: 0 / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.79e-06/0.00501, allocations: 0 / 398.3 MB, free: 15.45 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.0007427/0.005753, allocations: 0.5084 MB / 398.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.005796, allocations: 8.031 kB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.005836, allocations: 46.73 kB / 398.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.005886, allocations: 20.84 kB / 398.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.006214, allocations: 201.9 kB / 399.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.159e-05/0.006275, allocations: 67.97 kB / 399.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.006309, allocations: 20.31 kB / 399.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.006646, allocations: 192.6 kB / 399.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006656, allocations: 4.125 kB / 399.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.006674, allocations: 11.94 kB / 399.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.00668, allocations: 0 / 399.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.007007, allocations: 155.7 kB / 399.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.007779, allocations: 0.574 MB / 400.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.008127, allocations: 158.4 kB / 400.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.008279, allocations: 76.78 kB / 400.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.008291, allocations: 0 / 400.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.008575, allocations: 162.9 kB / 400.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.008576, allocations: 0 / 400.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005895/0.009166, allocations: 305.4 kB / 400.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.009204, allocations: 55.41 kB / 400.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.00935, allocations: 207.8 kB / 401 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.009371, allocations: 33.64 kB / 401 MB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.009445, allocations: 140.2 kB / 401.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.009472, allocations: 35.78 kB / 401.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.009535, allocations: 49.7 kB / 401.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.009619, allocations: 330.8 kB / 401.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.009824, allocations: 147.3 kB / 401.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.01004, allocations: 197.3 kB / 401.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.01041, allocations: 265.1 kB / 402.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01041, allocations: 4 kB / 402.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007788/0.01119, allocations: 401.4 kB / 402.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.01124, allocations: 59.41 kB / 402.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01125, allocations: 11.88 kB / 402.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01127, allocations: 0 / 402.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.0115, allocations: 68.08 kB / 402.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01151, allocations: 3.984 kB / 402.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.01165, allocations: 47.84 kB / 402.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01167, allocations: 8 kB / 402.8 MB, free: 10.59 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 9.986e-05/0.01177, allocations: 133.7 kB / 402.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.01178, allocations: 19.91 kB / 402.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.01183, allocations: 25.39 kB / 402.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01183, allocations: 4 kB / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01184, allocations: 0 / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01184, allocations: 0 / 403 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.012, allocations: 192.6 kB / 403.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.012, allocations: 4 kB / 403.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.01221, allocations: 47.95 kB / 403.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01221, allocations: 4 kB / 403.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01223, allocations: 11.92 kB / 403.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01223, allocations: 0 / 403.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.01224, allocations: 3.938 kB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.01282, allocations: 340.8 kB / 403.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.01284, allocations: 15.89 kB / 403.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01287, allocations: 19.92 kB / 403.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01297, allocations: 27.95 kB / 403.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.01305, allocations: 31.94 kB / 403.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01306, allocations: 4 kB / 403.6 MB, free: 9.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.01314, allocations: 141.5 kB / 403.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01314, allocations: 8.062 kB / 403.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.01333, allocations: 39.94 kB / 403.8 MB, free: 9.461 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.0007774/0.0141, allocations: 0.8739 MB / 404.7 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.01461, allocations: 377.7 kB / 405.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01461, allocations: 64 / 405.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.01479, allocations: 99.84 kB / 405.2 MB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01502, allocations: 30.94 kB / 405.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.01744, allocations: 2.542 MB / 407.7 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.01751, allocations: 112.2 kB / 407.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.478e-05/0.01759, allocations: 17.48 kB / 407.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.01767, allocations: 52.48 kB / 407.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01767, allocations: 0 / 407.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.03912, allocations: 5.268 MB / 413.2 MB, free: 0 / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.059, allocations: 8.109 kB / 413.2 MB, free: 15.99 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.863603668287396] Failed to read output from testmodel.py, exit status != 0: 7.146605908870697 7.15830979 7.151483427 Calling exit ...