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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.0906/0.0906, allocations: 11.34 MB / 316.4 MB, free: 14.29 MB / 254.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 441.1 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 54.83 MB / 495.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.004139/0.1111, allocations: 2.297 MB / 498.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1137, allocations: 1.473 MB / 499.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1138, allocations: 11.94 kB / 499.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.1151, allocations: 492.6 kB / 0.4884 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.1157, allocations: 314.9 kB / 0.4887 GB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1169, allocations: 487.2 kB / 0.4892 GB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.1176, allocations: 0.5455 MB / 0.4897 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1178, allocations: 69.75 kB / 0.4898 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1181, allocations: 243.1 kB / 0.49 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1184, allocations: 263 kB / 0.4903 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.1185, allocations: 31.94 kB / 0.4903 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.1188, allocations: 167.8 kB / 0.4905 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.119, allocations: 159.5 kB / 0.4906 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.1192, allocations: 210.6 kB / 0.4908 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.12, allocations: 0.6029 MB / 0.4914 GB, free: 9.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.12, allocations: 0 / 0.4914 GB, free: 9.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.12, allocations: 0 / 0.4914 GB, free: 9.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.12, allocations: 0 / 0.4914 GB, free: 9.719 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001549/0.1215, allocations: 0.9351 MB / 0.4923 GB, free: 8.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1216, allocations: 8.031 kB / 0.4923 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.1217, allocations: 64.55 kB / 0.4924 GB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.1223, allocations: 476.2 kB / 0.4928 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1224, allocations: 12.38 kB / 0.4929 GB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.1224, allocations: 20.12 kB / 0.4929 GB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.1229, allocations: 245.1 kB / 0.4931 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1229, allocations: 3.938 kB / 0.4931 GB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1229, allocations: 7.984 kB / 0.4931 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.1229, allocations: 4 kB / 0.4931 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1232, allocations: 127.9 kB / 0.4932 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1243, allocations: 0.6678 MB / 0.4939 GB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.1247, allocations: 214.8 kB / 0.4941 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1249, allocations: 87.38 kB / 0.4942 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.125, allocations: 7.984 kB / 0.4942 GB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.1254, allocations: 179.2 kB / 0.4944 GB, free: 6.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.1254, allocations: 0 / 0.4944 GB, free: 6.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008651/0.1262, allocations: 406.5 kB / 0.4948 GB, free: 6.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1263, allocations: 140.5 kB / 0.4949 GB, free: 5.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.1272, allocations: 0.7099 MB / 0.4956 GB, free: 5.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1272, allocations: 37.69 kB / 0.4956 GB, free: 5.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.1275, allocations: 252.5 kB / 0.4959 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.1275, allocations: 55.59 kB / 0.4959 GB, free: 4.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.1276, allocations: 61.69 kB / 0.496 GB, free: 4.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1279, allocations: 366.8 kB / 0.4963 GB, free: 4.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.128, allocations: 72.23 kB / 0.4964 GB, free: 4.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.1283, allocations: 203.9 kB / 0.4966 GB, free: 4.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.1288, allocations: 281.1 kB / 0.4968 GB, free: 3.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1288, allocations: 0 / 0.4968 GB, free: 3.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006446/0.1294, allocations: 325.3 kB / 0.4972 GB, free: 3.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1295, allocations: 12 kB / 0.4972 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1295, allocations: 0 / 0.4972 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1295, allocations: 7.938 kB / 0.4972 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1297, allocations: 43.92 kB / 0.4972 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1297, allocations: 11.92 kB / 0.4972 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1299, allocations: 31.78 kB / 0.4973 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1299, allocations: 11.98 kB / 0.4973 GB, free: 3.34 MB / 366.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.0003253/0.1302, allocations: 240 kB / 0.4975 GB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.1303, allocations: 59.61 kB / 0.4976 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.131, allocations: 341.6 kB / 0.4979 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.131, allocations: 4 kB / 0.4979 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.131, allocations: 8 kB / 0.4979 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.131, allocations: 0 / 0.4979 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.1315, allocations: 413.2 kB / 0.4983 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1315, allocations: 3.938 kB / 0.4983 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1315, allocations: 19.92 kB / 0.4983 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1315, allocations: 0 / 0.4983 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1315, allocations: 8 kB / 0.4983 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1315, allocations: 0 / 0.4983 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1315, allocations: 3.984 kB / 0.4983 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.1321, allocations: 357 kB / 0.4987 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1323, allocations: 136.7 kB / 0.4988 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.1323, allocations: 8 kB / 0.4988 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1325, allocations: 15.92 kB / 0.4988 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.1325, allocations: 23.97 kB / 0.4988 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1326, allocations: 8 kB / 0.4988 GB, free: 1.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.1332, allocations: 0.5183 MB / 0.4994 GB, free: 1.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 4 kB / 0.4994 GB, free: 1.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.1336, allocations: 87.88 kB / 0.4994 GB, free: 1.016 MB / 366.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.00164/0.1353, allocations: 469.1 kB / 0.4999 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.1358, allocations: 216.1 kB / 0.5001 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1358, allocations: 4.062 kB / 0.5001 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.136, allocations: 106.5 kB / 0.5002 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.1366, allocations: 123 kB / 0.5003 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1381, allocations: 0.9001 MB / 0.5012 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.1386, allocations: 0.8584 MB / 0.502 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1387, allocations: 47.42 kB / 0.5021 GB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1387, allocations: 0 / 0.5021 GB, free: 14.43 MB / 382.1 MB Notification: Performance of Templates: time 0.01169/0.1504, allocations: 7.301 MB / 0.5092 GB, free: 7.16 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]