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.001389/0.001389, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001535/0.001535, allocations: 160.4 kB / 23.02 MB, free: 4.941 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.06159/0.06159, allocations: 8.614 MB / 268.4 MB, free: 8.516 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 396.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.13, allocations: 56.05 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003686/0.1337, allocations: 1.809 MB / 453.9 MB, free: 13.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1349, allocations: 0.5448 MB / 454.5 MB, free: 13.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.135, allocations: 4 kB / 454.5 MB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.66e-05/0.1351, allocations: 27.67 kB / 454.5 MB, free: 13.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1352, allocations: 31.67 kB / 454.5 MB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.1358, allocations: 183.4 kB / 454.7 MB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.1361, allocations: 207.4 kB / 454.9 MB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1363, allocations: 32.56 kB / 454.9 MB, free: 12.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1364, allocations: 87.53 kB / 455 MB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1365, allocations: 103.4 kB / 455.1 MB, free: 12.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1366, allocations: 20 kB / 455.2 MB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1368, allocations: 143.9 kB / 455.3 MB, free: 12.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.1369, allocations: 43.84 kB / 455.3 MB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.137, allocations: 87.44 kB / 455.4 MB, free: 12.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1374, allocations: 306.8 kB / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1374, allocations: 0 / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1374, allocations: 4 kB / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1374, allocations: 0 / 455.7 MB, free: 12.14 MB / 430.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.000922/0.1383, allocations: 0.4927 MB / 456.2 MB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1384, allocations: 8.031 kB / 456.2 MB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.1385, allocations: 28.75 kB / 456.3 MB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1388, allocations: 217.5 kB / 456.5 MB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1388, allocations: 12.38 kB / 456.5 MB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1388, allocations: 12.38 kB / 456.5 MB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1392, allocations: 285.1 kB / 456.8 MB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1393, allocations: 192 / 456.8 MB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.1393, allocations: 7.938 kB / 456.8 MB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1393, allocations: 4 kB / 456.8 MB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1395, allocations: 67.95 kB / 456.8 MB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.1404, allocations: 432 kB / 457.3 MB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1407, allocations: 134.6 kB / 457.4 MB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1409, allocations: 60.81 kB / 457.5 MB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1409, allocations: 7.938 kB / 457.5 MB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.1412, allocations: 139.3 kB / 457.6 MB, free: 10.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1412, allocations: 0 / 457.6 MB, free: 10.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005804/0.1418, allocations: 272 kB / 457.9 MB, free: 9.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1419, allocations: 166.2 kB / 458 MB, free: 9.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1422, allocations: 261.9 kB / 458.3 MB, free: 9.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1422, allocations: 33.7 kB / 458.3 MB, free: 9.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1423, allocations: 148.5 kB / 458.5 MB, free: 9.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.1424, allocations: 63.47 kB / 458.5 MB, free: 9.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.1425, allocations: 65.92 kB / 458.6 MB, free: 9.043 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1426, allocations: 342.8 kB / 458.9 MB, free: 8.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1428, allocations: 56.25 kB / 459 MB, free: 8.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.1431, allocations: 293 kB / 459.3 MB, free: 8.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.1435, allocations: 247.2 kB / 459.5 MB, free: 7.984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1435, allocations: 0 / 459.5 MB, free: 7.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004356/0.1439, allocations: 277.5 kB / 459.8 MB, free: 7.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1439, allocations: 4 kB / 459.8 MB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1439, allocations: 4 kB / 459.8 MB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.144, allocations: 8 kB / 459.8 MB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1442, allocations: 55.91 kB / 459.8 MB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1442, allocations: 8 kB / 459.9 MB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1444, allocations: 23.88 kB / 459.9 MB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.1444, allocations: 15.94 kB / 459.9 MB, free: 7.59 MB / 430.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.0002072/0.1446, allocations: 150.4 kB / 460 MB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.1447, allocations: 27.81 kB / 460.1 MB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.1447, allocations: 26.11 kB / 460.1 MB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1447, allocations: 4 kB / 460.1 MB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1447, allocations: 0 / 460.1 MB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1447, allocations: 0 / 460.1 MB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.1454, allocations: 477.9 kB / 460.6 MB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1454, allocations: 0 / 460.6 MB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1456, allocations: 35.92 kB / 460.6 MB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1456, allocations: 4 kB / 460.6 MB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1457, allocations: 11.98 kB / 460.6 MB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1457, allocations: 0 / 460.6 MB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1457, allocations: 3.938 kB / 460.6 MB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.1463, allocations: 385.7 kB / 461 MB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1464, allocations: 31.73 kB / 461 MB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1464, allocations: 8.062 kB / 461 MB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1466, allocations: 11.92 kB / 461 MB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1466, allocations: 23.84 kB / 461.1 MB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1466, allocations: 12 kB / 461.1 MB, free: 6.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1468, allocations: 189.2 kB / 461.3 MB, free: 6.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1468, allocations: 0 / 461.3 MB, free: 6.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003897/0.1472, allocations: 75.86 kB / 461.3 MB, free: 6.086 MB / 430.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.0002443/0.1475, allocations: 160.2 kB / 461.5 MB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1478, allocations: 167.5 kB / 461.7 MB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1478, allocations: 0 / 461.7 MB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.148, allocations: 71.89 kB / 461.7 MB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1484, allocations: 60.98 kB / 461.8 MB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1496, allocations: 0.5184 MB / 462.3 MB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.1497, allocations: 138.4 kB / 462.4 MB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1498, allocations: 38.25 kB / 462.5 MB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.1499, allocations: 24.5 kB / 462.5 MB, free: 4.875 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1499, allocations: 0 / 462.5 MB, free: 4.875 MB / 430.1 MB Notification: Performance of Templates: time 0.007406/0.1573, allocations: 3.224 MB / 465.7 MB, free: 1.688 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.776180578977801] Failed to read output from testmodel.py, exit status != 0: 0.16636299691163003 0.180559893 0.040173736 Calling exit ...