Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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.001715/0.001715, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002224/0.002224, allocations: 219 kB / 23.01 MB, free: 4.609 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.09686/0.09686, allocations: 11.34 MB / 324.5 MB, free: 8.242 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.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") [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.002033/0.002033, allocations: 67.91 kB / 452.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1202, allocations: 56.06 MB / 0.4965 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.00422/0.1245, allocations: 2.355 MB / 0.4988 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1276, allocations: 1.633 MB / 0.5003 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1278, allocations: 11.88 kB / 0.5004 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1291, allocations: 0.4908 MB / 0.5008 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009192/0.13, allocations: 377.2 kB / 0.5012 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1312, allocations: 398.4 kB / 0.5016 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000848/0.132, allocations: 0.5766 MB / 0.5021 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1323, allocations: 73.89 kB / 0.5022 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.1327, allocations: 259 kB / 0.5025 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.133, allocations: 270.9 kB / 0.5027 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.1331, allocations: 28 kB / 0.5027 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.1336, allocations: 191.8 kB / 0.5029 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1338, allocations: 167.4 kB / 0.5031 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.134, allocations: 222.5 kB / 0.5033 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.1349, allocations: 0.6262 MB / 0.5039 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1349, allocations: 0 / 0.5039 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1349, allocations: 0 / 0.5039 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1349, allocations: 0 / 0.5039 GB, free: 10.18 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001621/0.1365, allocations: 0.8714 MB / 0.5048 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1366, allocations: 12.02 kB / 0.5048 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1367, allocations: 64.56 kB / 0.5048 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.1374, allocations: 413 kB / 0.5052 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1375, allocations: 12.38 kB / 0.5052 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.1375, allocations: 20.12 kB / 0.5053 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.138, allocations: 245.1 kB / 0.5055 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.138, allocations: 0 / 0.5055 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.138, allocations: 11.94 kB / 0.5055 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.138, allocations: 8 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1383, allocations: 131.8 kB / 0.5056 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1395, allocations: 0.6514 MB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.14, allocations: 214.8 kB / 0.5065 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1402, allocations: 76.81 kB / 0.5065 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1402, allocations: 4 kB / 0.5066 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/0.1406, allocations: 176.9 kB / 0.5067 GB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1406, allocations: 0 / 0.5067 GB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000854/0.1414, allocations: 416.5 kB / 0.5071 GB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1415, allocations: 136.5 kB / 0.5072 GB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.1425, allocations: 0.7412 MB / 0.508 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.1426, allocations: 37.69 kB / 0.508 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1428, allocations: 248.7 kB / 0.5082 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.1429, allocations: 67.48 kB / 0.5083 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.143, allocations: 61.69 kB / 0.5084 GB, free: 5.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.1432, allocations: 370.8 kB / 0.5087 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.1433, allocations: 72.25 kB / 0.5088 GB, free: 4.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.1436, allocations: 211.9 kB / 0.509 GB, free: 4.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.1441, allocations: 273.2 kB / 0.5093 GB, free: 4.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1441, allocations: 4 kB / 0.5093 GB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006177/0.1447, allocations: 328.9 kB / 0.5096 GB, free: 4.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1448, allocations: 4 kB / 0.5096 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1448, allocations: 4.25 kB / 0.5096 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1448, allocations: 8 kB / 0.5096 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.145, allocations: 43.91 kB / 0.5096 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.145, allocations: 7.938 kB / 0.5096 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1451, allocations: 27.88 kB / 0.5097 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1452, allocations: 16 kB / 0.5097 GB, free: 3.941 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: xor_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] or_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] not_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] and_gate.y[1]:DISCRETE(flow=false fixed = true ) \"output vector\" type: Boolean [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.xor_gate.y[1],xor_gate.y[1],$PRE.or_gate.y[1],or_gate.y[1],$PRE.not_gate.y[1],not_gate.y[1],$PRE.and_gate.y[1],and_gate.y[1],$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,or_gate.u[2],booleanConstant2.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,and_gate.u[3],not_gate_C.y[1],booleanConstant.combiTimeTable.nextTimeEventScaled,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEvent,and_gate.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 1 * 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.0003514/0.1455, allocations: 250.5 kB / 0.5099 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1456, allocations: 59.62 kB / 0.51 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.1463, allocations: 346.8 kB / 0.5103 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1463, allocations: 7.938 kB / 0.5103 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1463, allocations: 0 / 0.5103 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1463, allocations: 0 / 0.5103 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.1467, allocations: 400.3 kB / 0.5107 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1467, allocations: 0 / 0.5107 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1468, allocations: 19.94 kB / 0.5107 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1468, allocations: 0 / 0.5107 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1468, allocations: 7.984 kB / 0.5107 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1468, allocations: 0 / 0.5107 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1468, allocations: 0 / 0.5107 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.1474, allocations: 363.8 kB / 0.5111 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1475, allocations: 67.55 kB / 0.5111 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.1476, allocations: 8 kB / 0.5111 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1477, allocations: 11.98 kB / 0.5112 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.1478, allocations: 23.95 kB / 0.5112 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.1478, allocations: 15.98 kB / 0.5112 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.1485, allocations: 0.534 MB / 0.5117 GB, free: 1.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 0 / 0.5117 GB, free: 1.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.1489, allocations: 99.8 kB / 0.5118 GB, free: 1.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,and_gate.u[3],and_gate.u[4],and_gate.y[1],booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEventScaled,not_gate.y[1],or_gate.u[2],or_gate.y[1],xor_gate.y[1],not_gate_C.y[1]) * Number of discrete states: 6 (booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001639/0.1505, allocations: 473.9 kB / 0.5123 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.151, allocations: 211.8 kB / 0.5125 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.151, allocations: 0 / 0.5125 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.1513, allocations: 108.2 kB / 0.5126 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.1519, allocations: 130.8 kB / 0.5127 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1534, allocations: 0.9109 MB / 0.5136 GB, free: 0 / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2077/0.3611, allocations: 0.8635 MB / 0.5144 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.3612, allocations: 43.75 kB / 0.5145 GB, free: 22.24 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3612, allocations: 0.7812 kB / 0.5145 GB, free: 22.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01252/0.3738, allocations: 7.45 MB / 0.5217 GB, free: 21.6 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.726453632116318] Failed to read output from testmodel.py, exit status != 0: 0.3822942110709846 0.39435900700000004 0.256619076 Calling exit ...