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.0009792/0.0009792, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001035/0.001035, allocations: 169 kB / 23.27 MB, free: 1.223 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.9522/0.9522, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.0357/0.0357, allocations: 8.607 MB / 268.9 MB, free: 4.781 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 9.32e-07/9.32e-07, allocations: 0 / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.493e-05, allocations: 8.641 kB / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.002099/0.002114, allocations: 2.295 MB / 343.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.003611, allocations: 1.558 MB / 345.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003716, allocations: 11.88 kB / 345.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.004289, allocations: 0.5024 MB / 345.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.004633, allocations: 382.6 kB / 346.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.005011, allocations: 394.9 kB / 346.5 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.005294, allocations: 0.5959 MB / 347.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005408, allocations: 65.97 kB / 347.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.005601, allocations: 323.1 kB / 347.4 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.005741, allocations: 231.4 kB / 347.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.005772, allocations: 32 kB / 347.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.005942, allocations: 187.6 kB / 347.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.006023, allocations: 163.5 kB / 348 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.006089, allocations: 127.5 kB / 348.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.006372, allocations: 482.1 kB / 348.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006374, allocations: 0 / 348.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006375, allocations: 0 / 348.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006379, allocations: 0 / 348.6 MB, free: 0.7812 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.0006332/0.007012, allocations: 0.9673 MB / 349.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.007043, allocations: 12.03 kB / 349.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.007123, allocations: 80.44 kB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.007444, allocations: 399.9 kB / 350.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007463, allocations: 12.38 kB / 350.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.007482, allocations: 20.38 kB / 350.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.00765, allocations: 129.9 kB / 350.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.007659, allocations: 3.938 kB / 350.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.007672, allocations: 7.984 kB / 350.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.007686, allocations: 8 kB / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.007758, allocations: 48.33 kB / 350.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.008254, allocations: 0.5308 MB / 350.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.008407, allocations: 123.4 kB / 351 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.008451, allocations: 39.59 kB / 351 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.008466, allocations: 4 kB / 351 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.008605, allocations: 133.7 kB / 351.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.008606, allocations: 0 / 351.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003135/0.00892, allocations: 292.2 kB / 351.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.008946, allocations: 55.41 kB / 351.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.009313, allocations: 0.5765 MB / 352 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.009333, allocations: 33.7 kB / 352.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.009483, allocations: 319.2 kB / 352.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.009528, allocations: 67.55 kB / 352.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.009588, allocations: 75.3 kB / 352.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.009736, allocations: 0.5507 MB / 353.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.009773, allocations: 28.25 kB / 353.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.009888, allocations: 250 kB / 353.4 MB, free: 11.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01004, allocations: 196.3 kB / 353.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01004, allocations: 4 kB / 353.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002174/0.01026, allocations: 233 kB / 353.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01027, allocations: 8 kB / 353.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01028, allocations: 7.938 kB / 353.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01029, allocations: 4 kB / 353.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.01038, allocations: 39.92 kB / 353.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01038, allocations: 16.17 kB / 353.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.01046, allocations: 27.84 kB / 353.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01048, allocations: 11.98 kB / 353.9 MB, free: 11.17 MB / 282.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.00014/0.01062, allocations: 213.5 kB / 354.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.01067, allocations: 67.62 kB / 354.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.01093, allocations: 254.8 kB / 354.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.01094, allocations: 4 kB / 354.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01094, allocations: 0 / 354.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01095, allocations: 7.984 kB / 354.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.01115, allocations: 252.9 kB / 354.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01115, allocations: 0 / 354.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.01119, allocations: 23.92 kB / 354.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01119, allocations: 0 / 354.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.0112, allocations: 12.11 kB / 354.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.0112, allocations: 8 kB / 354.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01121, allocations: 7.875 kB / 354.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01145, allocations: 304.2 kB / 355 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.01149, allocations: 55.55 kB / 355.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.01153, allocations: 8 kB / 355.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.01158, allocations: 11.98 kB / 355.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01163, allocations: 35.83 kB / 355.1 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01164, allocations: 8 kB / 355.1 MB, free: 9.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.01185, allocations: 366.6 kB / 355.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01185, allocations: 0 / 355.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01209, allocations: 107.8 kB / 355.6 MB, free: 9.402 MB / 282.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.0007766/0.01287, allocations: 438.4 kB / 356 MB, free: 9.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.01305, allocations: 139.4 kB / 356.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.01305, allocations: 0 / 356.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.01312, allocations: 79.56 kB / 356.2 MB, free: 8.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01343, allocations: 137.2 kB / 356.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.0141, allocations: 0.7267 MB / 357.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.01418, allocations: 137.2 kB / 357.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.01428, allocations: 63.38 kB / 357.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.01444, allocations: 154.2 kB / 357.4 MB, free: 7.625 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01444, allocations: 4 kB / 357.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of Templates: time 0.008769/0.0232, allocations: 7.343 MB / 364.8 MB, free: 408 kB / 282.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9097604798153043]