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.001269/0.001269, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001606/0.001606, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9252/0.9252, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.06464/0.06464, allocations: 8.622 MB / 268.9 MB, free: 4.789 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.963e-05, allocations: 10.05 kB / 288.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.1033/0.1034, allocations: 2.349 MB / 290.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1052, allocations: 1.596 MB / 292.1 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1053, allocations: 10.5 kB / 292.1 MB, free: 18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.1062, allocations: 491 kB / 292.5 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.1067, allocations: 378 kB / 292.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.1073, allocations: 387.9 kB / 293.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.1078, allocations: 0.5934 MB / 293.9 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.108, allocations: 65.88 kB / 293.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.1083, allocations: 325.2 kB / 294.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1086, allocations: 234 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1086, allocations: 30.91 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1089, allocations: 202.4 kB / 294.7 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1091, allocations: 159.9 kB / 294.9 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1092, allocations: 123.7 kB / 295 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.1097, allocations: 474.2 kB / 295.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1097, allocations: 1.094 kB / 295.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1097, allocations: 0 / 295.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1097, allocations: 1.688 kB / 295.5 MB, free: 16.94 MB / 266.7 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.0008827/0.1106, allocations: 0.8277 MB / 296.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1106, allocations: 9 kB / 296.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.1107, allocations: 46.3 kB / 296.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.111, allocations: 373.2 kB / 296.7 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1111, allocations: 11.64 kB / 296.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1111, allocations: 18.88 kB / 296.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1113, allocations: 134.5 kB / 296.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1113, allocations: 5.094 kB / 296.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1113, allocations: 7.344 kB / 296.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1113, allocations: 4.5 kB / 296.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.1114, allocations: 53.36 kB / 296.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1119, allocations: 361.4 kB / 297.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.112, allocations: 159.4 kB / 297.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.1121, allocations: 35.47 kB / 297.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1121, allocations: 4.25 kB / 297.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1123, allocations: 130.8 kB / 297.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.1123, allocations: 1.312 kB / 297.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002682/0.1125, allocations: 178.1 kB / 297.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1126, allocations: 57.92 kB / 297.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.113, allocations: 0.5111 MB / 298.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.113, allocations: 42.7 kB / 298.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1131, allocations: 163.4 kB / 298.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.1131, allocations: 71.66 kB / 298.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.1132, allocations: 59.34 kB / 298.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.1133, allocations: 375.8 kB / 299.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.1133, allocations: 28.41 kB / 299.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.1134, allocations: 202 kB / 299.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1135, allocations: 187.9 kB / 299.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1135, allocations: 1.094 kB / 299.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000219/0.1138, allocations: 189.1 kB / 299.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1138, allocations: 5.844 kB / 299.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1138, allocations: 4.625 kB / 299.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1138, allocations: 8.562 kB / 299.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1139, allocations: 40.38 kB / 299.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1139, allocations: 4.469 kB / 299.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.114, allocations: 31.67 kB / 299.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.114, allocations: 13.31 kB / 299.8 MB, free: 14.11 MB / 266.7 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.0001457/0.1141, allocations: 162.4 kB / 299.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1142, allocations: 40.89 kB / 300 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1144, allocations: 174.3 kB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1144, allocations: 8.938 kB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1144, allocations: 0.6094 kB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1144, allocations: 2.547 kB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1146, allocations: 207.1 kB / 300.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1146, allocations: 1.031 kB / 300.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.1147, allocations: 15.42 kB / 300.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1147, allocations: 2.312 kB / 300.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1147, allocations: 9.578 kB / 300.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1147, allocations: 1.484 kB / 300.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1147, allocations: 4.094 kB / 300.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1149, allocations: 195.5 kB / 300.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.1149, allocations: 46.52 kB / 300.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.115, allocations: 9.625 kB / 300.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.115, allocations: 14.62 kB / 300.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1151, allocations: 26.14 kB / 300.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1151, allocations: 14.89 kB / 300.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1153, allocations: 251.8 kB / 300.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1153, allocations: 0 / 300.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.1156, allocations: 101.1 kB / 301 MB, free: 13.54 MB / 266.7 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 (27): * Single equations (assignments): 16 * 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.001107/0.1167, allocations: 0.5668 MB / 301.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1169, allocations: 119.8 kB / 301.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.1169, allocations: 5.094 kB / 301.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.117, allocations: 75.94 kB / 301.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1173, allocations: 135.5 kB / 301.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.1179, allocations: 0.7352 MB / 302.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.047e-05/0.118, allocations: 134 kB / 302.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1181, allocations: 68.86 kB / 302.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1183, allocations: 126.7 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1183, allocations: 3.938 kB / 303 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Templates: time 0.008217/0.1265, allocations: 7.291 MB / 310.3 MB, free: 7.168 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7478328300639987]