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.001318/0.001318, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001503/0.001503, allocations: 220.9 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.06545/0.06545, allocations: 11.35 MB / 324.5 MB, free: 8.039 MB / 254.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.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: 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.89 kB / 452.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 56.06 MB / 0.4964 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003157/0.1215, allocations: 1.707 MB / 0.498 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1228, allocations: 0.5922 MB / 0.4986 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.1229, allocations: 7.938 kB / 0.4986 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.123, allocations: 19.73 kB / 0.4986 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.123, allocations: 31.72 kB / 0.4987 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1233, allocations: 83.72 kB / 0.4988 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1236, allocations: 183.4 kB / 0.4989 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1237, allocations: 21.72 kB / 0.4989 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1239, allocations: 83.7 kB / 0.499 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1241, allocations: 63.67 kB / 0.4991 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1241, allocations: 19.92 kB / 0.4991 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.1241, allocations: 16 kB / 0.4991 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.1242, allocations: 27.92 kB / 0.4992 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.1243, allocations: 51.72 kB / 0.4992 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1245, allocations: 155.2 kB / 0.4993 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1245, allocations: 0 / 0.4993 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1245, allocations: 0 / 0.4993 GB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1245, allocations: 3.938 kB / 0.4994 GB, free: 14.61 MB / 382.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.0009664/0.1255, allocations: 449.4 kB / 0.4998 GB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1255, allocations: 12.03 kB / 0.4998 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1257, allocations: 24.8 kB / 0.4998 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.126, allocations: 195.9 kB / 0.5 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.1261, allocations: 111.4 kB / 0.5001 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1262, allocations: 12.38 kB / 0.5001 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.1266, allocations: 137.6 kB / 0.5003 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1266, allocations: 0 / 0.5003 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1266, allocations: 4 kB / 0.5003 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1266, allocations: 7.984 kB / 0.5003 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.1271, allocations: 119.9 kB / 0.5004 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.1279, allocations: 348.1 kB / 0.5007 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.1283, allocations: 118.5 kB / 0.5008 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.1286, allocations: 64.8 kB / 0.5009 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1286, allocations: 0 / 0.5009 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.129, allocations: 135.2 kB / 0.501 GB, free: 12.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.129, allocations: 0 / 0.501 GB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008778/0.1299, allocations: 241.7 kB / 0.5012 GB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.1299, allocations: 55.41 kB / 0.5013 GB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1301, allocations: 187.2 kB / 0.5015 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1302, allocations: 29.7 kB / 0.5015 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1303, allocations: 124.2 kB / 0.5016 GB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1303, allocations: 27.84 kB / 0.5016 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.1304, allocations: 29.7 kB / 0.5017 GB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1306, allocations: 322.8 kB / 0.502 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.1308, allocations: 93.64 kB / 0.5021 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.1311, allocations: 129.1 kB / 0.5022 GB, free: 11.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.1316, allocations: 172.9 kB / 0.5024 GB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1316, allocations: 0 / 0.5024 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006384/0.1323, allocations: 264.8 kB / 0.5026 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.1323, allocations: 33.7 kB / 0.5026 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1323, allocations: 0 / 0.5026 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1323, allocations: 3.938 kB / 0.5026 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1325, allocations: 36.05 kB / 0.5027 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1325, allocations: 0 / 0.5027 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1327, allocations: 35.86 kB / 0.5027 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1327, allocations: 4 kB / 0.5027 GB, free: 10.89 MB / 382.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 0.0001235/0.1329, allocations: 125.8 kB / 0.5028 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1329, allocations: 19.89 kB / 0.5029 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1329, allocations: 17.41 kB / 0.5029 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.133, allocations: 3.938 kB / 0.5029 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.133, allocations: 4 kB / 0.5029 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.133, allocations: 4 kB / 0.5029 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1331, allocations: 157.3 kB / 0.503 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1331, allocations: 4 kB / 0.503 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1333, allocations: 23.97 kB / 0.5031 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1333, allocations: 0 / 0.5031 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1333, allocations: 4 kB / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1333, allocations: 0 / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1333, allocations: 3.938 kB / 0.5031 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.1339, allocations: 204.8 kB / 0.5033 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.1339, allocations: 20.03 kB / 0.5033 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1339, allocations: 4 kB / 0.5033 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1341, allocations: 27.89 kB / 0.5033 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.1342, allocations: 23.91 kB / 0.5033 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1342, allocations: 3.938 kB / 0.5033 GB, free: 10.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1343, allocations: 135.2 kB / 0.5035 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1343, allocations: 0 / 0.5035 GB, free: 10.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1345, allocations: 31.95 kB / 0.5035 GB, free: 10.03 MB / 382.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.0001198/0.1347, allocations: 103.2 kB / 0.5036 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.1353, allocations: 229 kB / 0.5038 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1353, allocations: 0 / 0.5038 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.1358, allocations: 75.86 kB / 0.5039 GB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.136, allocations: 18.64 kB / 0.5039 GB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.1367, allocations: 297.7 kB / 0.5042 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1368, allocations: 103.3 kB / 0.5043 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.1369, allocations: 23.42 kB / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1369, allocations: 0 / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Templates: time 0.004325/0.1412, allocations: 2.009 MB / 0.5063 GB, free: 7.117 MB / 382.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: 6.94992133975029] Failed to read output from testmodel.py, exit status != 0: 0.14980100886896253 0.34257492 0.21566775800000001 Calling exit ...