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.001163/0.001163, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001143/0.001143, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8538/0.8538, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.03401/0.03401, allocations: 8.599 MB / 268.6 MB, free: 5.141 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 2.234e-06/2.234e-06, allocations: 3.938 kB / 396.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.193e-05, allocations: 6.219 kB / 396.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002732/0.002764, allocations: 1.797 MB / 398.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.003725, allocations: 0.5524 MB / 398.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.00383, allocations: 4 kB / 398.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.00388, allocations: 15.75 kB / 398.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.00402, allocations: 39.61 kB / 398.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.004571, allocations: 187.4 kB / 398.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.004832, allocations: 207.4 kB / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.004976, allocations: 40.55 kB / 399.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.005111, allocations: 119.6 kB / 399.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005221, allocations: 79.69 kB / 399.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.005254, allocations: 16 kB / 399.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.00547, allocations: 147.8 kB / 399.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.00552, allocations: 55.7 kB / 399.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.005589, allocations: 71.73 kB / 399.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.005986, allocations: 335 kB / 400 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005989, allocations: 0 / 400 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00599, allocations: 0 / 400 MB, free: 13.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005995, allocations: 3.938 kB / 400 MB, free: 13.33 MB / 330.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.000787/0.006782, allocations: 0.4964 MB / 400.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.006822, allocations: 8.031 kB / 400.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.006893, allocations: 32.73 kB / 400.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.007158, allocations: 208.8 kB / 400.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.007175, allocations: 8.375 kB / 400.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.007217, allocations: 20.36 kB / 400.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.007552, allocations: 281.8 kB / 401 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.007566, allocations: 192 / 401 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.007586, allocations: 8.359 kB / 401 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.007591, allocations: 384 / 401 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.00774, allocations: 67.91 kB / 401.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.008486, allocations: 432 kB / 401.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.008756, allocations: 138.5 kB / 401.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.008858, allocations: 56.83 kB / 401.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.008874, allocations: 4 kB / 401.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.009121, allocations: 143.3 kB / 401.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.009122, allocations: 0 / 401.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005073/0.00963, allocations: 272.2 kB / 402.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.009719, allocations: 166.2 kB / 402.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.009946, allocations: 261.8 kB / 402.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.009972, allocations: 33.7 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.01007, allocations: 152.4 kB / 402.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.01012, allocations: 63.47 kB / 402.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.0102, allocations: 61.98 kB / 402.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01031, allocations: 346.7 kB / 403.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.01041, allocations: 48.27 kB / 403.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.01062, allocations: 301.7 kB / 403.5 MB, free: 9.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.01093, allocations: 245.4 kB / 403.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01094, allocations: 0 / 403.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003846/0.01132, allocations: 273.1 kB / 404 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01134, allocations: 4 kB / 404 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01135, allocations: 4 kB / 404 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01136, allocations: 4.469 kB / 404 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.01156, allocations: 63.91 kB / 404.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01157, allocations: 7.984 kB / 404.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.0117, allocations: 27.84 kB / 404.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01172, allocations: 12 kB / 404.1 MB, free: 8.785 MB / 330.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.0001663/0.01189, allocations: 173.8 kB / 404.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.01192, allocations: 23.86 kB / 404.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.01197, allocations: 26.11 kB / 404.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01198, allocations: 4 kB / 404.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.01198, allocations: 4 kB / 404.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01199, allocations: 0 / 404.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.01253, allocations: 474 kB / 404.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01253, allocations: 0 / 404.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.01269, allocations: 35.91 kB / 404.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01269, allocations: 4 kB / 404.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01271, allocations: 8 kB / 404.9 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01271, allocations: 0 / 404.9 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01271, allocations: 0 / 404.9 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.0132, allocations: 393.4 kB / 405.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.01324, allocations: 23.86 kB / 405.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.01328, allocations: 15.98 kB / 405.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01339, allocations: 7.938 kB / 405.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.01343, allocations: 19.91 kB / 405.3 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.01345, allocations: 11.98 kB / 405.3 MB, free: 7.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.0136, allocations: 181.2 kB / 405.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0136, allocations: 0 / 405.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.01398, allocations: 83.81 kB / 405.6 MB, free: 7.266 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.0002292/0.01421, allocations: 171 kB / 405.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01451, allocations: 157.8 kB / 405.9 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01451, allocations: 4 kB / 405.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01463, allocations: 68.84 kB / 406 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.01498, allocations: 50.33 kB / 406 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.01595, allocations: 0.5165 MB / 406.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.01605, allocations: 142.2 kB / 406.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.01611, allocations: 24.5 kB / 406.7 MB, free: 6.082 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01611, allocations: 0 / 406.7 MB, free: 6.082 MB / 330.7 MB Notification: Performance of Templates: time 0.004443/0.02055, allocations: 3.336 MB / 410.1 MB, free: 2.746 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.313834825530648] Failed to read output from testmodel.py, exit status != 0: 0.026140714064240456 0.18137092200000002 0.173611875 Calling exit ...