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.001429/0.001429, allocations: 84.72 kB / 19.44 MB, free: 356 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.001662/0.001662, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.0942/0.0942, allocations: 8.606 MB / 268.2 MB, free: 4.941 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.563e-06/1.563e-06, allocations: 0 / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.378e-05, allocations: 10.25 kB / 340.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.002849/0.002873, allocations: 2.225 MB / 342.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.00518, allocations: 1.527 MB / 343.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.005443, allocations: 11.88 kB / 343.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.006534, allocations: 0.5024 MB / 344.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008162/0.00735, allocations: 382.4 kB / 344.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000915/0.008265, allocations: 391 kB / 345.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006725/0.008938, allocations: 0.5998 MB / 345.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.009128, allocations: 65.97 kB / 345.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.009614, allocations: 327.2 kB / 346.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.00992, allocations: 235.4 kB / 346.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.009978, allocations: 28 kB / 346.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.01033, allocations: 191.6 kB / 346.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01047, allocations: 167.5 kB / 346.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.01062, allocations: 127.5 kB / 346.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.0113, allocations: 0.619 MB / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01131, allocations: 0 / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01131, allocations: 0 / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.01133, allocations: 0 / 347.5 MB, free: 1.336 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.001422/0.01275, allocations: 0.8792 MB / 348.4 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.01279, allocations: 8.031 kB / 348.4 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.01296, allocations: 76.52 kB / 348.5 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.01366, allocations: 422.4 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.01369, allocations: 12.38 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.01373, allocations: 20.36 kB / 348.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.01425, allocations: 211.4 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01426, allocations: 4 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.01428, allocations: 4 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.0143, allocations: 7.984 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.01463, allocations: 135.9 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.01587, allocations: 0.5701 MB / 349.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.01647, allocations: 214.9 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.01669, allocations: 92.8 kB / 350.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.01671, allocations: 0 / 350.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.01715, allocations: 185.4 kB / 350.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.01715, allocations: 0 / 350.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001069/0.01822, allocations: 431.4 kB / 350.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.01828, allocations: 59.39 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.01939, allocations: 0.7373 MB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.01943, allocations: 33.7 kB / 351.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.01969, allocations: 248.6 kB / 351.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.01978, allocations: 71.45 kB / 351.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01989, allocations: 57.7 kB / 351.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.02014, allocations: 374.7 kB / 352.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.02034, allocations: 76.23 kB / 352.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.02071, allocations: 262.5 kB / 352.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.02128, allocations: 285.1 kB / 352.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02129, allocations: 0 / 352.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007478/0.02203, allocations: 356.9 kB / 353.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.02205, allocations: 4 kB / 353.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.02206, allocations: 4 kB / 353.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.02208, allocations: 4 kB / 353.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.02227, allocations: 43.91 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.02228, allocations: 4 kB / 353.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.02248, allocations: 32.12 kB / 353.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.02251, allocations: 15.94 kB / 353.4 MB, free: 11.18 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.0003658/0.02288, allocations: 250.8 kB / 353.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.023, allocations: 63.62 kB / 353.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.02378, allocations: 370.8 kB / 354 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.02379, allocations: 4 kB / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.0238, allocations: 0 / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.0238, allocations: 3.984 kB / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.02427, allocations: 320.9 kB / 354.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02427, allocations: 0 / 354.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.02434, allocations: 15.98 kB / 354.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02435, allocations: 4 kB / 354.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.02437, allocations: 8 kB / 354.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.02437, allocations: 4 kB / 354.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02437, allocations: 3.938 kB / 354.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.02513, allocations: 400.7 kB / 354.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.02523, allocations: 51.61 kB / 354.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.0253, allocations: 11.98 kB / 354.8 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.02544, allocations: 15.98 kB / 354.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.02552, allocations: 19.97 kB / 354.9 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.02555, allocations: 11.98 kB / 354.9 MB, free: 9.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007472/0.0263, allocations: 0.5262 MB / 355.4 MB, free: 9.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0263, allocations: 4 kB / 355.4 MB, free: 9.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.02673, allocations: 99.81 kB / 355.5 MB, free: 8.965 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.00216/0.02889, allocations: 492.8 kB / 356 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.02952, allocations: 236.1 kB / 356.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02952, allocations: 64 / 356.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.02979, allocations: 119.9 kB / 356.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.03046, allocations: 134.2 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.03202, allocations: 0.9025 MB / 357.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.03235, allocations: 267.5 kB / 357.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000233/0.03258, allocations: 87.28 kB / 357.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.03271, allocations: 44.48 kB / 357.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.03271, allocations: 0 / 357.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of Templates: time 0.0152/0.04791, allocations: 6.714 MB / 364.5 MB, free: 232 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.556732282042503]