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.001436/0.001436, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001132/0.001132, allocations: 173 kB / 23.02 MB, free: 1.547 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.9873/0.9873, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.04819/0.04819, allocations: 8.612 MB / 268.6 MB, free: 4.918 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.653e-06/1.653e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.772e-05, allocations: 6.25 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.002778/0.002805, allocations: 2.329 MB / 343.2 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.00463, allocations: 1.582 MB / 344.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.004751, allocations: 7.938 kB / 344.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007169/0.005468, allocations: 0.4906 MB / 345.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.005955, allocations: 382.6 kB / 345.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.006497, allocations: 395 kB / 346.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.006894, allocations: 0.592 MB / 346.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.007027, allocations: 65.97 kB / 346.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.00728, allocations: 331.1 kB / 347 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.007468, allocations: 239.4 kB / 347.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.007508, allocations: 28 kB / 347.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.007743, allocations: 183.7 kB / 347.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.007853, allocations: 163.4 kB / 347.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.007948, allocations: 131.5 kB / 347.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.008342, allocations: 474.1 kB / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008344, allocations: 0 / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008345, allocations: 0 / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.00835, allocations: 0 / 348.2 MB, free: 1.012 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.000809/0.009159, allocations: 0.9791 MB / 349.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.009193, allocations: 8.031 kB / 349.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.009298, allocations: 76.52 kB / 349.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.009747, allocations: 407.9 kB / 349.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.009772, allocations: 12.38 kB / 349.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.009798, allocations: 20.36 kB / 349.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.01005, allocations: 149.9 kB / 349.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.01006, allocations: 3.938 kB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01008, allocations: 8 kB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.01009, allocations: 11.94 kB / 349.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01023, allocations: 71.94 kB / 350 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.01095, allocations: 0.6046 MB / 350.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.01119, allocations: 135.4 kB / 350.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.01128, allocations: 47.66 kB / 350.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.01129, allocations: 7.984 kB / 350.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.01149, allocations: 145.7 kB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.01149, allocations: 3.938 kB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004734/0.01196, allocations: 300.3 kB / 351.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.012, allocations: 63.41 kB / 351.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.01256, allocations: 0.5963 MB / 351.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.01259, allocations: 33.7 kB / 351.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.01277, allocations: 311.2 kB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.01283, allocations: 63.58 kB / 352.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.0129, allocations: 75.34 kB / 352.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.01308, allocations: 0.5508 MB / 352.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.01315, allocations: 32.25 kB / 352.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01332, allocations: 258 kB / 353.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.01355, allocations: 204.3 kB / 353.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01355, allocations: 4 kB / 353.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000334/0.01389, allocations: 249 kB / 353.6 MB, free: 11.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.0139, allocations: 12.19 kB / 353.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01391, allocations: 4 kB / 353.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01392, allocations: 4 kB / 353.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01403, allocations: 39.91 kB / 353.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01404, allocations: 4 kB / 353.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01416, allocations: 39.95 kB / 353.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.01418, allocations: 12 kB / 353.7 MB, free: 11.16 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.0001718/0.01435, allocations: 209.5 kB / 353.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.01442, allocations: 63.56 kB / 354 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.01481, allocations: 274.8 kB / 354.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.01481, allocations: 7.984 kB / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01482, allocations: 0 / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01482, allocations: 0 / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.01513, allocations: 336.3 kB / 354.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01513, allocations: 4 kB / 354.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.01517, allocations: 19.94 kB / 354.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01518, allocations: 3.984 kB / 354.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.01519, allocations: 11.94 kB / 354.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.0152, allocations: 0 / 354.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0152, allocations: 0 / 354.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.01557, allocations: 324.1 kB / 354.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.01563, allocations: 55.56 kB / 355 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.01568, allocations: 15.92 kB / 355 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.01576, allocations: 11.98 kB / 355 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.01581, allocations: 23.97 kB / 355 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.01583, allocations: 15.98 kB / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.01619, allocations: 398.8 kB / 355.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01619, allocations: 0 / 355.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000332/0.01652, allocations: 99.81 kB / 355.5 MB, free: 9.262 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.000963/0.01748, allocations: 456.5 kB / 356 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.01776, allocations: 147.5 kB / 356.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01776, allocations: 4 kB / 356.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01788, allocations: 84.08 kB / 356.2 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.01829, allocations: 138.5 kB / 356.4 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.01913, allocations: 0.738 MB / 357.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.01923, allocations: 133.2 kB / 357.2 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.01938, allocations: 71.61 kB / 357.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.01946, allocations: 48.38 kB / 357.3 MB, free: 7.539 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01946, allocations: 4 kB / 357.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of Templates: time 0.01058/0.03004, allocations: 7.213 MB / 364.6 MB, free: 440 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: 3.107554909773171]