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.001689/0.001689, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001812/0.001812, allocations: 222.6 kB / 23 MB, free: 4.914 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.06416/0.06416, allocations: 11.35 MB / 324.5 MB, free: 8.047 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.002135/0.002135, allocations: 69.77 kB / 452.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 56.06 MB / 0.4964 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003349/0.1404, allocations: 1.793 MB / 0.4981 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1416, allocations: 0.5526 MB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.1417, allocations: 3.938 kB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.1417, allocations: 15.75 kB / 0.4987 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1419, allocations: 39.67 kB / 0.4987 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1424, allocations: 187.4 kB / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1427, allocations: 207.4 kB / 0.4991 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1429, allocations: 36.5 kB / 0.4991 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.143, allocations: 95.52 kB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1432, allocations: 83.47 kB / 0.4993 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.1432, allocations: 24 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1434, allocations: 151.8 kB / 0.4995 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1436, allocations: 55.7 kB / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.64e-05/0.1436, allocations: 75.52 kB / 0.4996 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.1441, allocations: 306.8 kB / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1441, allocations: 3.984 kB / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1441, allocations: 0 / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1441, allocations: 0 / 0.4999 GB, free: 14.06 MB / 382.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.0009063/0.145, allocations: 0.4966 MB / 0.5004 GB, free: 13.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.145, allocations: 16.02 kB / 0.5004 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.1451, allocations: 28.75 kB / 0.5004 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.1455, allocations: 201.7 kB / 0.5006 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1455, allocations: 8.375 kB / 0.5006 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1456, allocations: 20.33 kB / 0.5006 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.146, allocations: 281.1 kB / 0.5009 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.146, allocations: 4.125 kB / 0.5009 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.146, allocations: 11.94 kB / 0.5009 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.146, allocations: 0 / 0.5009 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.1462, allocations: 67.95 kB / 0.501 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.1471, allocations: 428 kB / 0.5014 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.1475, allocations: 145.4 kB / 0.5015 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1476, allocations: 64.83 kB / 0.5016 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1476, allocations: 4 kB / 0.5016 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.148, allocations: 141.5 kB / 0.5017 GB, free: 12.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.148, allocations: 0 / 0.5017 GB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006472/0.1486, allocations: 271.3 kB / 0.502 GB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.1488, allocations: 162.2 kB / 0.5021 GB, free: 11.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.1491, allocations: 253.9 kB / 0.5024 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.1491, allocations: 41.69 kB / 0.5024 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1493, allocations: 152.4 kB / 0.5026 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1494, allocations: 59.55 kB / 0.5026 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1495, allocations: 61.92 kB / 0.5027 GB, free: 10.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.1498, allocations: 346.7 kB / 0.503 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1499, allocations: 48.27 kB / 0.5031 GB, free: 10.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.1502, allocations: 296.4 kB / 0.5034 GB, free: 10.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.1506, allocations: 244.9 kB / 0.5036 GB, free: 9.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1506, allocations: 0 / 0.5036 GB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004683/0.1511, allocations: 269.5 kB / 0.5038 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1511, allocations: 8 kB / 0.5038 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1511, allocations: 8 kB / 0.5039 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1512, allocations: 8 kB / 0.5039 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1514, allocations: 55.91 kB / 0.5039 GB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.1514, allocations: 11.92 kB / 0.5039 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.1516, allocations: 27.83 kB / 0.504 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.1516, allocations: 19.94 kB / 0.504 GB, free: 9.504 MB / 382.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.0001966/0.1518, allocations: 142.4 kB / 0.5041 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1519, allocations: 39.75 kB / 0.5041 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.152, allocations: 26.11 kB / 0.5042 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.152, allocations: 4 kB / 0.5042 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.152, allocations: 0 / 0.5042 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.152, allocations: 0 / 0.5042 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.1527, allocations: 481.9 kB / 0.5046 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1527, allocations: 0 / 0.5046 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.1529, allocations: 35.97 kB / 0.5047 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1529, allocations: 4 kB / 0.5047 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1529, allocations: 4 kB / 0.5047 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1529, allocations: 4 kB / 0.5047 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1529, allocations: 3.938 kB / 0.5047 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.1536, allocations: 393.4 kB / 0.5051 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.1536, allocations: 23.81 kB / 0.5051 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.1536, allocations: 12.05 kB / 0.5051 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1538, allocations: 8 kB / 0.5051 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.1539, allocations: 19.91 kB / 0.5051 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1539, allocations: 11.98 kB / 0.5051 GB, free: 8.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1541, allocations: 181.2 kB / 0.5053 GB, free: 8.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1541, allocations: 4 kB / 0.5053 GB, free: 8.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.1545, allocations: 83.8 kB / 0.5054 GB, free: 7.996 MB / 382.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.0002437/0.1547, allocations: 157.3 kB / 0.5055 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1551, allocations: 163.1 kB / 0.5057 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1551, allocations: 4.312 kB / 0.5057 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.1552, allocations: 75.84 kB / 0.5058 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1556, allocations: 44.41 kB / 0.5058 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1569, allocations: 0.5669 MB / 0.5064 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.1571, allocations: 138.2 kB / 0.5065 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.1571, allocations: 23.44 kB / 0.5065 GB, free: 6.781 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1571, allocations: 0 / 0.5065 GB, free: 6.781 MB / 382.1 MB Notification: Performance of Templates: time 0.006111/0.1632, allocations: 3.324 MB / 0.5098 GB, free: 3.457 MB / 382.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: 7.163077611010522] Failed to read output from testmodel.py, exit status != 0: 0.172440929338336 0.35374447499999995 0.20713236199999996 Calling exit ...