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.001496/0.001496, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001779/0.001779, allocations: 174 kB / 22.46 MB, free: 5.355 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.06533/0.06533, allocations: 8.61 MB / 267.8 MB, free: 8.559 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.194e-05, allocations: 2.281 kB / 395.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003787/0.003819, allocations: 1.797 MB / 397.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.005277, allocations: 0.5524 MB / 397.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.005465, allocations: 0 / 397.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.005533, allocations: 19.73 kB / 397.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.005738, allocations: 39.61 kB / 398 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.006417, allocations: 183.4 kB / 398.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.006748, allocations: 211.4 kB / 398.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.006902, allocations: 36.55 kB / 398.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.00708, allocations: 123.6 kB / 398.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.00721, allocations: 75.7 kB / 398.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.007264, allocations: 19.98 kB / 398.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.007538, allocations: 147.7 kB / 398.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.007607, allocations: 63.69 kB / 398.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.007697, allocations: 59.77 kB / 398.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.008266, allocations: 339 kB / 399.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.00827, allocations: 0 / 399.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008271, allocations: 0 / 399.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.00828, allocations: 0 / 399.2 MB, free: 3.008 MB / 318.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.001332/0.009612, allocations: 0.5042 MB / 399.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.009671, allocations: 8.031 kB / 399.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.009777, allocations: 28.8 kB / 399.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.0102, allocations: 212.8 kB / 400 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01023, allocations: 12.38 kB / 400 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.01027, allocations: 12.38 kB / 400 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.01077, allocations: 282.4 kB / 400.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.01079, allocations: 192 / 400.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.01081, allocations: 8.375 kB / 400.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.01082, allocations: 4.375 kB / 400.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.01103, allocations: 63.89 kB / 400.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01203, allocations: 432.1 kB / 400.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.01238, allocations: 130.6 kB / 400.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01251, allocations: 56.83 kB / 400.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.01253, allocations: 4 kB / 400.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.01289, allocations: 150 kB / 401.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.01289, allocations: 0 / 401.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007322/0.01362, allocations: 269.4 kB / 401.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.01376, allocations: 166.2 kB / 401.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.0141, allocations: 261.9 kB / 401.8 MB, free: 248 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.01414, allocations: 33.7 kB / 401.8 MB, free: 208 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01426, allocations: 156.4 kB / 402 MB, free: 48 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.01434, allocations: 63.67 kB / 402 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.01444, allocations: 57.97 kB / 402.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.01461, allocations: 346.6 kB / 402.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.01474, allocations: 52.25 kB / 402.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.01506, allocations: 292.9 kB / 402.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.01552, allocations: 237.5 kB / 403 MB, free: 14.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01552, allocations: 0 / 403 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005583/0.01608, allocations: 281.1 kB / 403.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.0161, allocations: 4 kB / 403.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.01611, allocations: 4 kB / 403.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01613, allocations: 8 kB / 403.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.01641, allocations: 56.42 kB / 403.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.01642, allocations: 15.94 kB / 403.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.01662, allocations: 31.81 kB / 403.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.01664, allocations: 16 kB / 403.4 MB, free: 14.45 MB / 334.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.0002381/0.01688, allocations: 153.3 kB / 403.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.01694, allocations: 23.86 kB / 403.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.01701, allocations: 26.11 kB / 403.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01701, allocations: 4 kB / 403.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01701, allocations: 0 / 403.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01702, allocations: 4 kB / 403.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/0.01784, allocations: 484.7 kB / 404.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01784, allocations: 3.938 kB / 404.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.01809, allocations: 35.98 kB / 404.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.01809, allocations: 0 / 404.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.01812, allocations: 7.984 kB / 404.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01812, allocations: 0 / 404.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01812, allocations: 0 / 404.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.01888, allocations: 391.3 kB / 404.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.01893, allocations: 35.72 kB / 404.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.01899, allocations: 12 kB / 404.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.01917, allocations: 11.98 kB / 404.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.01924, allocations: 7.984 kB / 404.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.01926, allocations: 11.98 kB / 404.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.01952, allocations: 189.2 kB / 404.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01952, allocations: 0 / 404.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.01996, allocations: 87.75 kB / 404.9 MB, free: 12.93 MB / 334.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.0003211/0.02029, allocations: 166.4 kB / 405 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.02075, allocations: 158.2 kB / 405.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.02075, allocations: 0 / 405.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.02091, allocations: 67.91 kB / 405.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.02133, allocations: 55.98 kB / 405.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.02262, allocations: 495.2 kB / 405.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.02278, allocations: 138.2 kB / 405.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.02289, allocations: 34.22 kB / 405.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.02295, allocations: 24.5 kB / 406 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02295, allocations: 0 / 406 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Templates: time 0.008559/0.03151, allocations: 3.214 MB / 409.2 MB, free: 8.594 MB / 334.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: 4.5326100289821625] Failed to read output from testmodel.py, exit status != 0: 0.040699832141399384 0.056822408000000005 0.045318932000000006 Calling exit ...