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.001083/0.001083, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001469/0.001469, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9973/0.9973, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.03798/0.03798, allocations: 8.613 MB / 269.6 MB, free: 4.762 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.342e-06/1.342e-06, allocations: 0 / 342.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/1.122e-05, allocations: 6.312 kB / 342.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.002313/0.002324, allocations: 2.286 MB / 344.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.00405, allocations: 1.57 MB / 346 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.004167, allocations: 7.938 kB / 346 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.004958, allocations: 0.5023 MB / 346.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.005448, allocations: 382.6 kB / 346.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.005972, allocations: 383 kB / 347.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.006429, allocations: 0.5959 MB / 347.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.006577, allocations: 69.75 kB / 347.9 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.006836, allocations: 327.1 kB / 348.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.00702, allocations: 235.4 kB / 348.4 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.007057, allocations: 31.98 kB / 348.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.007258, allocations: 191.6 kB / 348.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.007378, allocations: 163.4 kB / 348.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.007467, allocations: 119.6 kB / 348.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.007819, allocations: 470.1 kB / 349.4 MB, free: 1.855 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007822, allocations: 4 kB / 349.4 MB, free: 1.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.1e-07/0.007822, allocations: 7.938 kB / 349.4 MB, free: 1.844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007826, allocations: 0 / 349.4 MB, free: 1.844 MB / 314.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.0007202/0.008546, allocations: 0.9712 MB / 350.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.008572, allocations: 8.031 kB / 350.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.008644, allocations: 76.52 kB / 350.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.008959, allocations: 403.8 kB / 350.8 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.008981, allocations: 24.11 kB / 350.9 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.008998, allocations: 20.38 kB / 350.9 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.009153, allocations: 126.1 kB / 351 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.009162, allocations: 7.875 kB / 351 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.009173, allocations: 4 kB / 351 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.009186, allocations: 4 kB / 351 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.009256, allocations: 56.31 kB / 351.1 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.009761, allocations: 0.519 MB / 351.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.009915, allocations: 137.7 kB / 351.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.009961, allocations: 39.66 kB / 351.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.009971, allocations: 4 kB / 351.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.01011, allocations: 136.7 kB / 351.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.01011, allocations: 0 / 351.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000317/0.01043, allocations: 284 kB / 352.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.01045, allocations: 55.41 kB / 352.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.0108, allocations: 0.5843 MB / 352.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.01082, allocations: 37.69 kB / 352.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.01097, allocations: 319.2 kB / 353.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.01101, allocations: 63.52 kB / 353.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.01107, allocations: 71.31 kB / 353.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01122, allocations: 0.5624 MB / 353.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.01125, allocations: 20.27 kB / 353.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.01137, allocations: 246 kB / 354.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01152, allocations: 192.3 kB / 354.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01152, allocations: 0 / 354.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002153/0.01173, allocations: 241 kB / 354.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.01175, allocations: 4 kB / 354.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01175, allocations: 7.938 kB / 354.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.01176, allocations: 7.984 kB / 354.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.01185, allocations: 39.92 kB / 354.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01185, allocations: 4 kB / 354.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.01193, allocations: 31.83 kB / 354.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01194, allocations: 8.25 kB / 354.7 MB, free: 12.23 MB / 330.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.0001417/0.01208, allocations: 213.5 kB / 354.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.01213, allocations: 63.62 kB / 354.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.01239, allocations: 265.6 kB / 355.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.0124, allocations: 11.98 kB / 355.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0124, allocations: 0 / 355.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01241, allocations: 0 / 355.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.0126, allocations: 264.9 kB / 355.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01261, allocations: 0 / 355.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.01264, allocations: 12 kB / 355.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01264, allocations: 0 / 355.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01265, allocations: 15.92 kB / 355.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01265, allocations: 4 kB / 355.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01265, allocations: 3.938 kB / 355.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.01289, allocations: 295.9 kB / 355.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.01293, allocations: 63.55 kB / 355.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.01297, allocations: 11.98 kB / 355.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.01303, allocations: 11.98 kB / 355.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01306, allocations: 23.91 kB / 355.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01308, allocations: 15.98 kB / 355.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.01329, allocations: 366.6 kB / 356.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 0 / 356.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01351, allocations: 103.8 kB / 356.4 MB, free: 10.46 MB / 330.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.0007629/0.01427, allocations: 439 kB / 356.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01445, allocations: 139.5 kB / 356.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01445, allocations: 0 / 356.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.01452, allocations: 79.56 kB / 357 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01482, allocations: 128.4 kB / 357.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.01544, allocations: 0.7307 MB / 357.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.644e-05/0.01552, allocations: 141.2 kB / 358 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.01562, allocations: 63.97 kB / 358.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.01577, allocations: 158.1 kB / 358.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01577, allocations: 4 kB / 358.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of Templates: time 0.008308/0.02408, allocations: 7.458 MB / 365.7 MB, free: 1.336 MB / 330.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.0100503396242857]