Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.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.0009352/0.0009352, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009677/0.0009677, allocations: 173 kB / 23.36 MB, free: 1.133 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.8917/0.8917, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.03644/0.03644, allocations: 8.628 MB / 268.9 MB, free: 4.82 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: translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 288.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.384e-05, allocations: 5.969 kB / 288.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.1337/0.1337, allocations: 2.262 MB / 290.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.1345, allocations: 0.4994 MB / 290.8 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1347, allocations: 17.28 kB / 290.8 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1349, allocations: 72.47 kB / 290.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.1349, allocations: 40.38 kB / 290.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.1355, allocations: 300.5 kB / 291.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.136, allocations: 0.6098 MB / 291.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1361, allocations: 68.66 kB / 291.9 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1364, allocations: 286.4 kB / 292.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1366, allocations: 195.5 kB / 292.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.1366, allocations: 46.44 kB / 292.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.1367, allocations: 46.41 kB / 292.5 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.1368, allocations: 127.5 kB / 292.6 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1369, allocations: 177.6 kB / 292.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.1372, allocations: 402.1 kB / 293.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1372, allocations: 0.6562 kB / 293.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1372, allocations: 0 / 293.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1372, allocations: 0 / 293.2 MB, free: 18.09 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.000695/0.1379, allocations: 0.7705 MB / 293.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.138, allocations: 10.47 kB / 294 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1381, allocations: 90.78 kB / 294 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1384, allocations: 312.5 kB / 294.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1384, allocations: 35 kB / 294.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.1385, allocations: 59.91 kB / 294.4 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.1389, allocations: 474.8 kB / 294.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1389, allocations: 1.953 kB / 294.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1389, allocations: 23.19 kB / 294.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.139, allocations: 8.438 kB / 294.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.1392, allocations: 264.8 kB / 295.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.1402, allocations: 0.7866 MB / 296 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1404, allocations: 250.1 kB / 296.2 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1405, allocations: 161.8 kB / 296.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1405, allocations: 5.203 kB / 296.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.1408, allocations: 363.8 kB / 296.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.673e-06/0.1408, allocations: 0.8125 kB / 296.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0005114/0.1413, allocations: 0.6052 MB / 297.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1413, allocations: 224.3 kB / 297.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1415, allocations: 367.1 kB / 297.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1416, allocations: 42.5 kB / 298 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.1416, allocations: 226.5 kB / 298.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.1417, allocations: 157.3 kB / 298.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.1418, allocations: 131.4 kB / 298.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.1418, allocations: 374 kB / 298.8 MB, free: 14.61 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1246:5-1246:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable Controller.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.5322728799656034]