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.001946/0.001946, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002104/0.002104, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.08597/0.08597, allocations: 8.611 MB / 268.2 MB, free: 4.961 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.382e-06/1.382e-06, allocations: 0 / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.649e-05, allocations: 2.312 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002418/0.002444, allocations: 1.825 MB / 342 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.003262, allocations: 0.5524 MB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.003356, allocations: 4 kB / 342.5 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.003396, allocations: 15.75 kB / 342.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.003544, allocations: 47.59 kB / 342.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.004011, allocations: 179.4 kB / 342.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.004212, allocations: 211.4 kB / 343 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004333, allocations: 32.56 kB / 343 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004446, allocations: 123.6 kB / 343.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.004541, allocations: 75.7 kB / 343.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.004579, allocations: 24 kB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.00477, allocations: 147.8 kB / 343.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.004812, allocations: 55.75 kB / 343.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.004871, allocations: 63.7 kB / 343.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.005194, allocations: 338.9 kB / 343.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005197, allocations: 0 / 343.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005197, allocations: 0 / 343.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005202, allocations: 0 / 343.8 MB, free: 5.059 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.0007161/0.005918, allocations: 0.5962 MB / 344.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.005951, allocations: 12.03 kB / 344.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.006027, allocations: 32.75 kB / 344.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.006248, allocations: 219.6 kB / 344.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.006264, allocations: 12.36 kB / 344.7 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.006297, allocations: 16.38 kB / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.006578, allocations: 297.2 kB / 345 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.006591, allocations: 192 / 345 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.006611, allocations: 12.36 kB / 345 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006616, allocations: 4.359 kB / 345 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.00676, allocations: 67.91 kB / 345.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.007484, allocations: 499.3 kB / 345.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.007751, allocations: 143.1 kB / 345.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.007848, allocations: 55.75 kB / 345.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.007866, allocations: 11.94 kB / 345.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.008072, allocations: 152.9 kB / 345.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.008074, allocations: 0 / 345.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004946/0.008568, allocations: 260 kB / 346.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.008615, allocations: 166.1 kB / 346.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.008817, allocations: 348.3 kB / 346.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.008836, allocations: 33.7 kB / 346.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.008914, allocations: 203.2 kB / 346.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.00895, allocations: 75.42 kB / 347 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.009024, allocations: 75.58 kB / 347 MB, free: 1.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.009118, allocations: 0.5235 MB / 347.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.009213, allocations: 52.25 kB / 347.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.009377, allocations: 350.5 kB / 348 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.00964, allocations: 278.7 kB / 348.2 MB, free: 188 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009643, allocations: 0 / 348.2 MB, free: 188 kB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004064/0.01005, allocations: 293.1 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01007, allocations: 4 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01007, allocations: 4 kB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.01009, allocations: 8.469 kB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.01036, allocations: 67.91 kB / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.01037, allocations: 7.938 kB / 348.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01053, allocations: 23.89 kB / 348.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01055, allocations: 8 kB / 348.6 MB, free: 15.77 MB / 282.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 0.0002166/0.01076, allocations: 200.4 kB / 348.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.01082, allocations: 35.81 kB / 348.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.01089, allocations: 30.11 kB / 348.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01089, allocations: 4 kB / 348.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.0109, allocations: 4 kB / 348.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.0109, allocations: 0 / 348.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007519/0.01165, allocations: 0.5323 MB / 349.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01165, allocations: 0 / 349.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.01187, allocations: 27.98 kB / 349.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01187, allocations: 4 kB / 349.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.01189, allocations: 11.98 kB / 349.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0119, allocations: 0 / 349.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0119, allocations: 0 / 349.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.01258, allocations: 445.8 kB / 349.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.01263, allocations: 31.73 kB / 349.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.01268, allocations: 8 kB / 350 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.01281, allocations: 11.98 kB / 350 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.01287, allocations: 7.984 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.01289, allocations: 12.03 kB / 350 MB, free: 14.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.01313, allocations: 237.1 kB / 350.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01313, allocations: 3.938 kB / 350.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.01354, allocations: 79.86 kB / 350.3 MB, free: 14.04 MB / 282.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.0002831/0.01382, allocations: 171 kB / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.01421, allocations: 180 kB / 350.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01421, allocations: 0 / 350.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.01438, allocations: 82.17 kB / 350.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.01478, allocations: 62.78 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.016, allocations: 0.5056 MB / 351.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.01615, allocations: 138.2 kB / 351.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.01627, allocations: 30.22 kB / 351.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.01634, allocations: 32.5 kB / 351.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01634, allocations: 0 / 351.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Templates: time 0.008071/0.02441, allocations: 3.249 MB / 354.7 MB, free: 9.578 MB / 282.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.690239488962106]