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.0008742/0.0008742, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0009582/0.0009582, allocations: 165 kB / 24.06 MB, free: 448 kB / 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.9971/0.9971, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.0379/0.0379, allocations: 8.614 MB / 269.7 MB, free: 4.762 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.573e-06/1.573e-06, allocations: 0 / 342.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.115e-05, allocations: 5.266 kB / 342.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003182/0.003204, allocations: 1.825 MB / 343.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.00428, allocations: 0.5485 MB / 344.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.004415, allocations: 4 kB / 344.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.822e-05/0.004473, allocations: 23.67 kB / 344.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.004635, allocations: 35.67 kB / 344.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.005195, allocations: 187.3 kB / 344.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.005512, allocations: 211.4 kB / 344.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.005772, allocations: 40.5 kB / 345 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.005879, allocations: 123.6 kB / 345.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.005994, allocations: 71.7 kB / 345.2 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.00602, allocations: 20 kB / 345.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.006183, allocations: 143.8 kB / 345.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.006227, allocations: 55.7 kB / 345.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.00629, allocations: 67.75 kB / 345.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.006644, allocations: 283.1 kB / 345.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006647, allocations: 0 / 345.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006648, allocations: 0 / 345.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006653, allocations: 0 / 345.7 MB, free: 5.539 MB / 314.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.0005549/0.007208, allocations: 0.6002 MB / 346.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.007239, allocations: 8.031 kB / 346.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.007295, allocations: 40.75 kB / 346.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.007485, allocations: 203.6 kB / 346.6 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.007498, allocations: 8.375 kB / 346.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.007529, allocations: 24.3 kB / 346.6 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.007737, allocations: 268.7 kB / 346.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007748, allocations: 4.188 kB / 346.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.007763, allocations: 12.36 kB / 346.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.007769, allocations: 384 / 346.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.007824, allocations: 35.8 kB / 346.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.008326, allocations: 440 kB / 347.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.008466, allocations: 102.9 kB / 347.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.008507, allocations: 31.66 kB / 347.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.008516, allocations: 4 kB / 347.5 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.00865, allocations: 121 kB / 347.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.008651, allocations: 3.938 kB / 347.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002618/0.008913, allocations: 189.4 kB / 347.8 MB, free: 3.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.008974, allocations: 162.2 kB / 347.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.009117, allocations: 308.1 kB / 348.2 MB, free: 2.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.009137, allocations: 37.7 kB / 348.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.0095, allocations: 199.2 kB / 348.5 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.009536, allocations: 67.41 kB / 348.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.009596, allocations: 67.61 kB / 348.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.009711, allocations: 0.5117 MB / 349.1 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.009742, allocations: 20.86 kB / 349.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.009892, allocations: 320.9 kB / 349.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.01006, allocations: 234.7 kB / 349.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01006, allocations: 11.94 kB / 349.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002064/0.01027, allocations: 216.8 kB / 349.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01028, allocations: 8 kB / 349.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01029, allocations: 4.469 kB / 349.9 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.0103, allocations: 7.938 kB / 349.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01046, allocations: 71.91 kB / 350 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01046, allocations: 4 kB / 350 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.01054, allocations: 27.83 kB / 350 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01055, allocations: 8 kB / 350 MB, free: 0.7773 MB / 314.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.0001155/0.01067, allocations: 196.4 kB / 350.2 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.0107, allocations: 27.86 kB / 350.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.01074, allocations: 34.05 kB / 350.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01074, allocations: 4 kB / 350.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01074, allocations: 0 / 350.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01075, allocations: 7.984 kB / 350.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.01107, allocations: 437.8 kB / 350.7 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01107, allocations: 0 / 350.7 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01119, allocations: 39.91 kB / 350.8 MB, free: 0 / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01119, allocations: 128 / 350.8 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01121, allocations: 11.94 kB / 350.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01121, allocations: 0 / 350.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01121, allocations: 0 / 350.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.01148, allocations: 357.8 kB / 351.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.0115, allocations: 27.78 kB / 351.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01153, allocations: 8 kB / 351.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.01159, allocations: 8 kB / 351.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.01163, allocations: 11.97 kB / 351.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01164, allocations: 8 kB / 351.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.01173, allocations: 205.1 kB / 351.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01173, allocations: 3.938 kB / 351.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.01196, allocations: 79.86 kB / 351.5 MB, free: 15.27 MB / 330.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.0001674/0.01213, allocations: 171 kB / 351.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01228, allocations: 116.3 kB / 351.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01229, allocations: 0 / 351.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.01235, allocations: 55.58 kB / 351.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01258, allocations: 60.84 kB / 351.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.01325, allocations: 486 kB / 352.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.0133, allocations: 84.31 kB / 352.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.01339, allocations: 30.28 kB / 352.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.01353, allocations: 118.2 kB / 352.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01353, allocations: 4 kB / 352.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of Templates: time 0.007536/0.02107, allocations: 3.589 MB / 356.2 MB, free: 10.55 MB / 330.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: 2.8895744290202856]