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.0008696/0.0008696, allocations: 80.75 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.0009336/0.0009336, allocations: 181 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.9719/0.9719, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.03773/0.03773, allocations: 8.627 MB / 268.9 MB, free: 4.789 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.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.731e-05, allocations: 10.25 kB / 288.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.119/0.119, allocations: 1.877 MB / 290 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.1198, allocations: 0.5619 MB / 290.5 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.1199, allocations: 5.219 kB / 290.6 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.1199, allocations: 17.16 kB / 290.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.1201, allocations: 42.44 kB / 290.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1205, allocations: 177.1 kB / 290.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1207, allocations: 213.6 kB / 291 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1208, allocations: 32.44 kB / 291 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1209, allocations: 120 kB / 291.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.121, allocations: 81.31 kB / 291.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.121, allocations: 18.28 kB / 291.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1213, allocations: 160.1 kB / 291.4 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.1213, allocations: 53.69 kB / 291.4 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.1213, allocations: 64.69 kB / 291.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.1216, allocations: 284.3 kB / 291.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1216, allocations: 0.6875 kB / 291.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1216, allocations: 3.938 kB / 291.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1217, allocations: 2.344 kB / 291.8 MB, free: 18.28 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004902/0.1221, allocations: 465.8 kB / 292.3 MB, free: 17.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1222, allocations: 11.34 kB / 292.3 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.1222, allocations: 26.69 kB / 292.3 MB, free: 17.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1224, allocations: 189.6 kB / 292.5 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1224, allocations: 10.05 kB / 292.5 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1224, allocations: 24.36 kB / 292.5 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1226, allocations: 264.1 kB / 292.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1226, allocations: 192 / 292.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1226, allocations: 7.188 kB / 292.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1226, allocations: 2.594 kB / 292.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.683e-05/0.1227, allocations: 26.91 kB / 292.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1231, allocations: 301.2 kB / 293.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1233, allocations: 76.22 kB / 293.2 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.1233, allocations: 29.67 kB / 293.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1233, allocations: 3.125 kB / 293.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1235, allocations: 118.3 kB / 293.3 MB, free: 17.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.1235, allocations: 1.125 kB / 293.3 MB, free: 17.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002042/0.1237, allocations: 130.1 kB / 293.4 MB, free: 17.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1237, allocations: 160.2 kB / 293.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1238, allocations: 240.5 kB / 293.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1239, allocations: 37.97 kB / 293.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1239, allocations: 133.6 kB / 294 MB, free: 16.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1239, allocations: 61.84 kB / 294.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.124, allocations: 60.66 kB / 294.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.124, allocations: 342.6 kB / 294.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.1241, allocations: 21.66 kB / 294.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.1242, allocations: 257.5 kB / 294.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1243, allocations: 195.4 kB / 294.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1243, allocations: 1.156 kB / 294.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001902/0.1245, allocations: 183.7 kB / 295.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1245, allocations: 7.25 kB / 295.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1245, allocations: 3.5 kB / 295.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1245, allocations: 6.812 kB / 295.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1248, allocations: 80.67 kB / 295.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1248, allocations: 5.922 kB / 295.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1249, allocations: 24 kB / 295.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1249, allocations: 15.91 kB / 295.2 MB, free: 15.84 MB / 266.7 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 9.566e-05/0.125, allocations: 143.2 kB / 295.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.125, allocations: 26.16 kB / 295.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.125, allocations: 28.48 kB / 295.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.125, allocations: 1.469 kB / 295.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.125, allocations: 2.812 kB / 295.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.125, allocations: 1.438 kB / 295.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.1253, allocations: 308.3 kB / 295.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1253, allocations: 3.484 kB / 295.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.1255, allocations: 56.41 kB / 295.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1255, allocations: 1.156 kB / 295.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1255, allocations: 5.234 kB / 295.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1255, allocations: 1.156 kB / 295.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1255, allocations: 1.578 kB / 295.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1258, allocations: 251.2 kB / 296.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.1258, allocations: 24.59 kB / 296.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1258, allocations: 8.516 kB / 296.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1259, allocations: 15.17 kB / 296.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1259, allocations: 14.5 kB / 296.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1259, allocations: 5.953 kB / 296.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.126, allocations: 88.12 kB / 296.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.126, allocations: 0 / 296.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.1262, allocations: 82.42 kB / 296.3 MB, free: 15.29 MB / 266.7 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.0001579/0.1264, allocations: 146.4 kB / 296.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1266, allocations: 114 kB / 296.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1266, allocations: 5.188 kB / 296.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.1266, allocations: 54.64 kB / 296.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1268, allocations: 55.52 kB / 296.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.1275, allocations: 482.3 kB / 297.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.1275, allocations: 83.11 kB / 297.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.1276, allocations: 35.55 kB / 297.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1277, allocations: 101.7 kB / 297.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1277, allocations: 7.875 kB / 297.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Templates: time 0.00542/0.1331, allocations: 3.633 MB / 301 MB, free: 13.93 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6705160047858953]