Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.0008652/0.0008652, 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.0009978/0.0009978, allocations: 170.3 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.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03584/0.03584, allocations: 8.608 MB / 267.8 MB, free: 5.129 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.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.985e-05, allocations: 9.312 kB / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002511/0.002541, allocations: 1.703 MB / 396.8 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.003503, allocations: 0.596 MB / 397.4 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.00364, allocations: 11.88 kB / 397.4 MB, free: 344 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003775, allocations: 15.75 kB / 397.4 MB, free: 328 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.003856, allocations: 31.72 kB / 397.4 MB, free: 296 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.004243, allocations: 83.69 kB / 397.5 MB, free: 212 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004488, allocations: 187.3 kB / 397.7 MB, free: 24 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.004654, allocations: 25.95 kB / 397.7 MB, free: 16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.00492, allocations: 103.7 kB / 397.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.005013, allocations: 55.81 kB / 397.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.005039, allocations: 12 kB / 397.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-05/0.005093, allocations: 12 kB / 397.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.00513, allocations: 31.89 kB / 397.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.005188, allocations: 51.83 kB / 398 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.005417, allocations: 155.4 kB / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005419, allocations: 0 / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005421, allocations: 0 / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.005427, allocations: 0 / 398.1 MB, free: 15.58 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007493/0.006176, allocations: 451 kB / 398.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.006225, allocations: 8.031 kB / 398.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.00626, allocations: 38.75 kB / 398.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.006366, allocations: 32.78 kB / 398.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.006626, allocations: 191.1 kB / 398.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.006703, allocations: 115.3 kB / 399 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.00672, allocations: 12.38 kB / 399 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.006953, allocations: 126.1 kB / 399.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.00696, allocations: 192 / 399.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.006975, allocations: 7.938 kB / 399.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006981, allocations: 4 kB / 399.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.007228, allocations: 127.8 kB / 399.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.007732, allocations: 371.6 kB / 399.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.007979, allocations: 122.5 kB / 399.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.008097, allocations: 64.8 kB / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.008116, allocations: 0 / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.008352, allocations: 135.2 kB / 399.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.008353, allocations: 0 / 399.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004711/0.008824, allocations: 237.5 kB / 400.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.008864, allocations: 59.34 kB / 400.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.00899, allocations: 183.8 kB / 400.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.009008, allocations: 33.7 kB / 400.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.009076, allocations: 128.2 kB / 400.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.009095, allocations: 31.89 kB / 400.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.009143, allocations: 29.7 kB / 400.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.00923, allocations: 326.8 kB / 400.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.009375, allocations: 93.62 kB / 401 MB, free: 12.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.00952, allocations: 125 kB / 401.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.009756, allocations: 165 kB / 401.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009758, allocations: 3.938 kB / 401.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003216/0.01008, allocations: 264.8 kB / 401.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.01011, allocations: 41.69 kB / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01012, allocations: 0 / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01013, allocations: 0 / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.01022, allocations: 36 kB / 401.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01023, allocations: 0 / 401.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.01031, allocations: 31.86 kB / 401.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01032, allocations: 8 kB / 401.7 MB, free: 11.77 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,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.799e-05/0.0104, allocations: 125.8 kB / 401.8 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.01042, allocations: 15.91 kB / 401.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.01045, allocations: 17.47 kB / 401.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01045, allocations: 0 / 401.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01045, allocations: 7.938 kB / 401.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01046, allocations: 7.984 kB / 401.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.01058, allocations: 176.7 kB / 402 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01058, allocations: 0 / 402 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.01064, allocations: 23.97 kB / 402 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.01064, allocations: 0 / 402 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01065, allocations: 7.984 kB / 402 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01065, allocations: 0 / 402 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01065, allocations: 7.875 kB / 402 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01093, allocations: 201.2 kB / 402.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.01094, allocations: 19.89 kB / 402.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01096, allocations: 7.938 kB / 402.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.01103, allocations: 19.97 kB / 402.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.01109, allocations: 23.91 kB / 402.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.0111, allocations: 7.984 kB / 402.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.01116, allocations: 131.2 kB / 402.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 402.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.01131, allocations: 28 kB / 402.5 MB, free: 10.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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.0004557/0.01177, allocations: 0.7372 MB / 403.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.01209, allocations: 232.8 kB / 403.4 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01209, allocations: 0 / 403.4 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01222, allocations: 71.88 kB / 403.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01239, allocations: 32.38 kB / 403.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.01412, allocations: 2.058 MB / 405.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.01418, allocations: 103.4 kB / 405.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.01423, allocations: 17.12 kB / 405.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.0143, allocations: 52.42 kB / 405.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.0143, allocations: 0 / 405.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.03327, allocations: 4.337 MB / 410.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/6.997, allocations: 12.06 kB / 410.1 MB, free: 3.191 MB / 378.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.783323230221868] Failed to read output from testmodel.py, exit status != 0: 7.078567231073976 7.093864285 7.086401625 Calling exit ...