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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.05 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.06673/0.06673, allocations: 11.34 MB / 317.6 MB, free: 13.78 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002046/0.002046, allocations: 79.8 kB / 443 MB, free: 6.434 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1349, allocations: 54.87 MB / 497.9 MB, free: 15.45 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.004179/0.139, allocations: 1.884 MB / 499.8 MB, free: 13.55 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001548/0.1406, allocations: 0.5954 MB / 0.4887 GB, free: 12.96 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1407, allocations: 3.938 kB / 0.4887 GB, free: 12.95 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.593e-05/0.1407, allocations: 19.73 kB / 0.4887 GB, free: 12.93 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1409, allocations: 35.67 kB / 0.4887 GB, free: 12.9 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.1415, allocations: 191.4 kB / 0.4889 GB, free: 12.71 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003034/0.1418, allocations: 207.4 kB / 0.4891 GB, free: 12.51 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.142, allocations: 40.5 kB / 0.4891 GB, free: 12.46 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1421, allocations: 87.53 kB / 0.4892 GB, free: 12.38 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1423, allocations: 107.4 kB / 0.4893 GB, free: 12.27 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1423, allocations: 16 kB / 0.4893 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.1426, allocations: 159.8 kB / 0.4895 GB, free: 12.1 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.1426, allocations: 55.77 kB / 0.4895 GB, free: 12.05 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1428, allocations: 95.39 kB / 0.4896 GB, free: 11.95 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.1432, allocations: 302.8 kB / 0.4899 GB, free: 11.66 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1432, allocations: 0 / 0.4899 GB, free: 11.66 MB / 366.1 MB
Notification: Performance of FrontEnd: time 3.567e-06/0.1432, allocations: 4 kB / 0.4899 GB, free: 11.65 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.713e-06/0.1432, allocations: 0 / 0.4899 GB, free: 11.65 MB / 366.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.0009187/0.1441, allocations: 0.4966 MB / 0.4904 GB, free: 11.12 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1442, allocations: 11.97 kB / 0.4904 GB, free: 11.11 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.1443, allocations: 24.8 kB / 0.4905 GB, free: 11.09 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1446, allocations: 217.5 kB / 0.4907 GB, free: 10.84 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1446, allocations: 8.375 kB / 0.4907 GB, free: 10.84 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1446, allocations: 16.38 kB / 0.4907 GB, free: 10.82 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.145, allocations: 182.3 kB / 0.4909 GB, free: 10.62 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.145, allocations: 192 / 0.4909 GB, free: 10.62 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.145, allocations: 7.938 kB / 0.4909 GB, free: 10.61 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.145, allocations: 4 kB / 0.4909 GB, free: 10.61 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1452, allocations: 63.95 kB / 0.4909 GB, free: 10.55 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.1462, allocations: 495.4 kB / 0.4914 GB, free: 10.02 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.1465, allocations: 144 kB / 0.4915 GB, free: 9.871 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1467, allocations: 56.83 kB / 0.4916 GB, free: 9.812 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1467, allocations: 0 / 0.4916 GB, free: 9.812 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.147, allocations: 145.3 kB / 0.4917 GB, free: 9.66 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.147, allocations: 0 / 0.4917 GB, free: 9.66 MB / 366.1 MB
Notification: Performance of matching and sorting (n=20): time 0.0006188/0.1476, allocations: 273.4 kB / 0.492 GB, free: 9.387 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.1478, allocations: 162.2 kB / 0.4921 GB, free: 9.191 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.148, allocations: 261.8 kB / 0.4924 GB, free: 8.93 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1481, allocations: 33.7 kB / 0.4924 GB, free: 8.891 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1482, allocations: 148.5 kB / 0.4926 GB, free: 8.742 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.1483, allocations: 71.47 kB / 0.4926 GB, free: 8.672 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1484, allocations: 57.98 kB / 0.4927 GB, free: 8.605 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001884/0.1486, allocations: 346.8 kB / 0.493 GB, free: 8.258 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1487, allocations: 44.27 kB / 0.4931 GB, free: 8.215 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.149, allocations: 197.5 kB / 0.4933 GB, free: 7.965 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1493, allocations: 241.5 kB / 0.4935 GB, free: 7.68 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1493, allocations: 0 / 0.4935 GB, free: 7.68 MB / 366.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005059/0.1499, allocations: 280.8 kB / 0.4938 GB, free: 7.402 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1499, allocations: 4 kB / 0.4938 GB, free: 7.398 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1499, allocations: 4 kB / 0.4938 GB, free: 7.395 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1499, allocations: 8 kB / 0.4938 GB, free: 7.387 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1502, allocations: 55.91 kB / 0.4938 GB, free: 7.332 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1502, allocations: 8 kB / 0.4938 GB, free: 7.324 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1504, allocations: 35.7 kB / 0.4939 GB, free: 7.289 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.1504, allocations: 20.28 kB / 0.4939 GB, free: 7.27 MB / 366.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.0002492/0.1507, allocations: 145.8 kB / 0.494 GB, free: 7.117 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1507, allocations: 23.86 kB / 0.494 GB, free: 7.094 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.1508, allocations: 26.11 kB / 0.4941 GB, free: 7.066 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1508, allocations: 4 kB / 0.4941 GB, free: 7.062 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.1508, allocations: 7.938 kB / 0.4941 GB, free: 7.055 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1508, allocations: 7.922 kB / 0.4941 GB, free: 7.047 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.1516, allocations: 0.5208 MB / 0.4946 GB, free: 6.477 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1516, allocations: 0 / 0.4946 GB, free: 6.477 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1518, allocations: 39.92 kB / 0.4946 GB, free: 6.438 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1518, allocations: 0 / 0.4946 GB, free: 6.438 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1519, allocations: 11.92 kB / 0.4946 GB, free: 6.426 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1519, allocations: 0 / 0.4946 GB, free: 6.426 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1519, allocations: 0 / 0.4946 GB, free: 6.426 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.1525, allocations: 393.5 kB / 0.495 GB, free: 6.027 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.1525, allocations: 19.86 kB / 0.495 GB, free: 6.008 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1526, allocations: 15.94 kB / 0.4951 GB, free: 5.992 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1527, allocations: 11.98 kB / 0.4951 GB, free: 5.98 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1528, allocations: 11.97 kB / 0.4951 GB, free: 5.969 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1528, allocations: 12 kB / 0.4951 GB, free: 5.957 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001875/0.153, allocations: 185.2 kB / 0.4953 GB, free: 5.777 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.153, allocations: 0 / 0.4953 GB, free: 5.777 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0003799/0.1534, allocations: 87.8 kB / 0.4954 GB, free: 5.691 MB / 366.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.0002468/0.1536, allocations: 151 kB / 0.4955 GB, free: 5.535 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003881/0.154, allocations: 164.6 kB / 0.4957 GB, free: 5.375 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.154, allocations: 0 / 0.4957 GB, free: 5.375 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000166/0.1542, allocations: 75.97 kB / 0.4957 GB, free: 5.301 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1546, allocations: 51.36 kB / 0.4958 GB, free: 5.258 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1559, allocations: 0.5185 MB / 0.4963 GB, free: 4.711 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1563, allocations: 0.748 MB / 0.497 GB, free: 3.938 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001126/0.1564, allocations: 34.22 kB / 0.497 GB, free: 3.906 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.1564, allocations: 27.38 kB / 0.4971 GB, free: 3.879 MB / 366.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1564, allocations: 0 / 0.4971 GB, free: 3.879 MB / 366.1 MB
Notification: Performance of Templates: time 0.007841/0.1643, allocations: 3.178 MB / 0.5002 GB, free: 0.7148 MB / 366.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.78786088898778]
Failed to read output from testmodel.py, exit status != 0:
0.17205009888857603 0.187472737 0.041110391
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2a908257b0>