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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] 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.06088/0.06088, allocations: 11.32 MB / 315.8 MB, free: 364 kB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.88 kB / 440.6 MB, free: 6.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 54.82 MB / 495.4 MB, free: 24.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002361/0.3083, allocations: 1.752 MB / 497.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008111/0.3091, allocations: 0.5607 MB / 497.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.3092, allocations: 6.75 kB / 497.8 MB, free: 22.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3093, allocations: 20.78 kB / 497.8 MB, free: 22.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.3094, allocations: 26.8 kB / 497.8 MB, free: 22.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.3096, allocations: 68.48 kB / 497.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.3098, allocations: 180.5 kB / 498.1 MB, free: 22.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.31, allocations: 25.72 kB / 498.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3101, allocations: 77.67 kB / 498.2 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.3102, allocations: 69.72 kB / 498.2 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3102, allocations: 11.28 kB / 498.2 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.3102, allocations: 12.81 kB / 498.2 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3102, allocations: 27.66 kB / 498.3 MB, free: 22.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.3103, allocations: 79.2 kB / 498.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3105, allocations: 139.7 kB / 498.5 MB, free: 22.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3105, allocations: 3.984 kB / 498.5 MB, free: 22.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3105, allocations: 0 / 498.5 MB, free: 22.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3105, allocations: 1.25 kB / 498.5 MB, free: 22.42 MB / 366.1 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.0008238/0.3113, allocations: 0.5087 MB / 499 MB, free: 21.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3113, allocations: 13.23 kB / 499 MB, free: 21.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3114, allocations: 21.5 kB / 499 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3117, allocations: 251.3 kB / 499.3 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.3117, allocations: 65.61 kB / 499.3 MB, free: 21.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3117, allocations: 7.094 kB / 499.4 MB, free: 21.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.3121, allocations: 135.2 kB / 499.5 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3121, allocations: 0 / 499.5 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3121, allocations: 5.594 kB / 499.5 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3121, allocations: 1.562 kB / 499.5 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.3125, allocations: 124 kB / 499.6 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.3132, allocations: 436.7 kB / 0.4883 GB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.3136, allocations: 122.7 kB / 0.4884 GB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3139, allocations: 63.98 kB / 0.4885 GB, free: 20.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3139, allocations: 5.188 kB / 0.4885 GB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.3142, allocations: 118.4 kB / 0.4886 GB, free: 20.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3142, allocations: 0 / 0.4886 GB, free: 20.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008227/0.315, allocations: 244 kB / 0.4888 GB, free: 20.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3151, allocations: 57.8 kB / 0.4889 GB, free: 20.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3152, allocations: 184.5 kB / 0.4891 GB, free: 20.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3152, allocations: 34.92 kB / 0.4891 GB, free: 20.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.3153, allocations: 125 kB / 0.4892 GB, free: 20.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3153, allocations: 30.97 kB / 0.4893 GB, free: 20.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.3154, allocations: 28.75 kB / 0.4893 GB, free: 20.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.3154, allocations: 330.5 kB / 0.4896 GB, free: 19.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.3157, allocations: 66.38 kB / 0.4897 GB, free: 19.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3159, allocations: 90.91 kB / 0.4898 GB, free: 19.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.3163, allocations: 175 kB / 0.4899 GB, free: 19.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3163, allocations: 1.094 kB / 0.4899 GB, free: 19.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005392/0.3168, allocations: 227.4 kB / 0.4901 GB, free: 19.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.3169, allocations: 32.73 kB / 0.4902 GB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3169, allocations: 5.438 kB / 0.4902 GB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3169, allocations: 5.406 kB / 0.4902 GB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.3171, allocations: 34.16 kB / 0.4902 GB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3171, allocations: 4.953 kB / 0.4902 GB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3172, allocations: 31.64 kB / 0.4902 GB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3173, allocations: 4.656 kB / 0.4903 GB, free: 19.51 MB / 366.1 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.908e-05/0.3173, allocations: 123.1 kB / 0.4904 GB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.3174, allocations: 18.19 kB / 0.4904 GB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3174, allocations: 25.05 kB / 0.4904 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3174, allocations: 2.406 kB / 0.4904 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3174, allocations: 0 / 0.4904 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3174, allocations: 0 / 0.4904 GB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3176, allocations: 220.9 kB / 0.4906 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3176, allocations: 1.312 kB / 0.4906 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3177, allocations: 27.16 kB / 0.4907 GB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3177, allocations: 0 / 0.4907 GB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3177, allocations: 9.875 kB / 0.4907 GB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3177, allocations: 4 kB / 0.4907 GB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3177, allocations: 0 / 0.4907 GB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3182, allocations: 204.6 kB / 0.4909 GB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.3182, allocations: 93.36 kB / 0.4909 GB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3182, allocations: 4.906 kB / 0.491 GB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3184, allocations: 29.2 kB / 0.491 GB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.3185, allocations: 16.11 kB / 0.491 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3185, allocations: 6.188 kB / 0.491 GB, free: 18.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.3186, allocations: 133 kB / 0.4911 GB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3186, allocations: 1.062 kB / 0.4911 GB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3188, allocations: 29.95 kB / 0.4912 GB, free: 18.71 MB / 366.1 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.0001284/0.3189, allocations: 108.5 kB / 0.4913 GB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.3195, allocations: 206.2 kB / 0.4915 GB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3195, allocations: 4.969 kB / 0.4915 GB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3198, allocations: 76.27 kB / 0.4915 GB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.32, allocations: 20.61 kB / 0.4916 GB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.3206, allocations: 267.7 kB / 0.4918 GB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.3208, allocations: 0.7183 MB / 0.4925 GB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.3208, allocations: 12.55 kB / 0.4925 GB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.3209, allocations: 27.23 kB / 0.4926 GB, free: 17.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3209, allocations: 0 / 0.4926 GB, free: 17.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004751/0.3256, allocations: 1.812 MB / 0.4943 GB, free: 16.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.769161517731845]