Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.001799/0.001799, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002498/0.002498, allocations: 214 kB / 23.01 MB, free: 4.566 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06517/0.06517, allocations: 11.35 MB / 324.5 MB, free: 8.254 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.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") [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.00199/0.00199, allocations: 75.88 kB / 452.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 56.06 MB / 0.4964 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003278/0.1166, allocations: 1.88 MB / 0.4983 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1178, allocations: 0.6148 MB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.1179, allocations: 4 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.1179, allocations: 15.75 kB / 0.4989 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.118, allocations: 39.61 kB / 0.4989 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.1186, allocations: 183.5 kB / 0.4991 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1189, allocations: 203.4 kB / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1191, allocations: 36.52 kB / 0.4993 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1192, allocations: 99.5 kB / 0.4994 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1193, allocations: 103.4 kB / 0.4995 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.1194, allocations: 16 kB / 0.4996 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.1196, allocations: 163.8 kB / 0.4997 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1197, allocations: 51.77 kB / 0.4998 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1198, allocations: 99.27 kB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.1202, allocations: 302.8 kB / 0.5001 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1202, allocations: 4 kB / 0.5001 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1202, allocations: 0 / 0.5001 GB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1202, allocations: 0 / 0.5001 GB, free: 14.06 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009291/0.1212, allocations: 0.5005 MB / 0.5006 GB, free: 13.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1212, allocations: 8.031 kB / 0.5006 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.1213, allocations: 28.75 kB / 0.5007 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1216, allocations: 209.5 kB / 0.5009 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1216, allocations: 8.375 kB / 0.5009 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.1216, allocations: 24.31 kB / 0.5009 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.122, allocations: 178.3 kB / 0.5011 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.122, allocations: 192 / 0.5011 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.122, allocations: 11.92 kB / 0.5011 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.122, allocations: 7.938 kB / 0.5011 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1222, allocations: 67.89 kB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009885/0.1232, allocations: 495.4 kB / 0.5016 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1235, allocations: 134.6 kB / 0.5018 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1236, allocations: 60.83 kB / 0.5018 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1237, allocations: 0 / 0.5018 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.124, allocations: 143.3 kB / 0.502 GB, free: 12.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.124, allocations: 3.938 kB / 0.502 GB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005861/0.1246, allocations: 271.6 kB / 0.5022 GB, free: 11.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.1247, allocations: 162.2 kB / 0.5024 GB, free: 11.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.125, allocations: 265.8 kB / 0.5026 GB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.125, allocations: 33.7 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1251, allocations: 152.4 kB / 0.5028 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1252, allocations: 55.55 kB / 0.5029 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.1253, allocations: 61.97 kB / 0.5029 GB, free: 11.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1254, allocations: 338.8 kB / 0.5032 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1256, allocations: 56.25 kB / 0.5033 GB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1258, allocations: 185.6 kB / 0.5035 GB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1261, allocations: 245.5 kB / 0.5037 GB, free: 10.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1261, allocations: 4 kB / 0.5037 GB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004494/0.1266, allocations: 269.4 kB / 0.504 GB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1266, allocations: 4 kB / 0.504 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1266, allocations: 8 kB / 0.504 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1266, allocations: 8 kB / 0.504 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.1269, allocations: 55.91 kB / 0.504 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1269, allocations: 11.94 kB / 0.504 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1271, allocations: 31.72 kB / 0.5041 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1271, allocations: 12.22 kB / 0.5041 GB, free: 9.684 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001902/0.1273, allocations: 150.4 kB / 0.5042 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1274, allocations: 27.81 kB / 0.5043 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.1274, allocations: 26.11 kB / 0.5043 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1274, allocations: 7.938 kB / 0.5043 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1274, allocations: 0 / 0.5043 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1274, allocations: 3.938 kB / 0.5043 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.1282, allocations: 0.5247 MB / 0.5048 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1282, allocations: 0 / 0.5048 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.1284, allocations: 35.97 kB / 0.5048 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1284, allocations: 0 / 0.5048 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1284, allocations: 11.94 kB / 0.5049 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1284, allocations: 0 / 0.5049 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1284, allocations: 0 / 0.5049 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.129, allocations: 398 kB / 0.5052 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1291, allocations: 27.8 kB / 0.5053 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.1291, allocations: 12 kB / 0.5053 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.1293, allocations: 7.984 kB / 0.5053 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1294, allocations: 16.02 kB / 0.5053 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1294, allocations: 15.92 kB / 0.5053 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1296, allocations: 185.2 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1296, allocations: 0 / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.13, allocations: 79.8 kB / 0.5056 GB, free: 8.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002562/0.1302, allocations: 167 kB / 0.5057 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.1306, allocations: 151.3 kB / 0.5059 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1306, allocations: 4.938 kB / 0.5059 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1308, allocations: 74.09 kB / 0.5059 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1311, allocations: 49.28 kB / 0.506 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1324, allocations: 0.563 MB / 0.5065 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1328, allocations: 0.748 MB / 0.5073 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1328, allocations: 23.44 kB / 0.5073 GB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1328, allocations: 0 / 0.5073 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Templates: time 0.006208/0.139, allocations: 3.242 MB / 0.5105 GB, free: 3.031 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.250993467867374] Failed to read output from testmodel.py, exit status != 0: 0.14796824310906231 0.33819324 0.21513683 Calling exit ...