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.0008914/0.0008914, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001001/0.001001, allocations: 177 kB / 23.36 MB, free: 1.125 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.8672/0.8672, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.07336/0.07336, allocations: 8.626 MB / 268.9 MB, free: 4.777 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.042e-06/1.042e-06, allocations: 0 / 288.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.167e-05, allocations: 2.312 kB / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.0997/0.09971, allocations: 2.304 MB / 290.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1014, allocations: 1.592 MB / 292 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1015, allocations: 11.53 kB / 292 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.1022, allocations: 0.4884 MB / 292.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.1027, allocations: 383.4 kB / 292.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.1033, allocations: 394.7 kB / 293.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1037, allocations: 0.5871 MB / 293.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1039, allocations: 67.36 kB / 293.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1041, allocations: 327.5 kB / 294.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1044, allocations: 232.6 kB / 294.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.1044, allocations: 28 kB / 294.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.1046, allocations: 191.3 kB / 294.6 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1048, allocations: 162.8 kB / 294.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.1049, allocations: 130 kB / 294.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.1053, allocations: 478.2 kB / 295.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1053, allocations: 1.188 kB / 295.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1053, allocations: 0 / 295.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1053, allocations: 1.469 kB / 295.4 MB, free: 17.02 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.0007004/0.106, allocations: 0.827 MB / 296.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.106, allocations: 9.5 kB / 296.2 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.1061, allocations: 49.44 kB / 296.3 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1064, allocations: 363.1 kB / 296.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1064, allocations: 14.73 kB / 296.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1065, allocations: 16.84 kB / 296.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1066, allocations: 134.5 kB / 296.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1066, allocations: 9.406 kB / 296.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1066, allocations: 8.125 kB / 296.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1067, allocations: 5.016 kB / 296.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.1067, allocations: 50.33 kB / 296.9 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1071, allocations: 362.2 kB / 297.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1073, allocations: 160.2 kB / 297.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.1073, allocations: 34.41 kB / 297.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1073, allocations: 4.109 kB / 297.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.1075, allocations: 142.4 kB / 297.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.1075, allocations: 0 / 297.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002234/0.1077, allocations: 167.7 kB / 297.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.1077, allocations: 65.95 kB / 297.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.1081, allocations: 0.5078 MB / 298.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1081, allocations: 34.91 kB / 298.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1082, allocations: 164.2 kB / 298.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1082, allocations: 70.66 kB / 298.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1082, allocations: 64 kB / 298.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.1083, allocations: 371.1 kB / 299 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.1083, allocations: 28.7 kB / 299 MB, free: 14.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1084, allocations: 202.8 kB / 299.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1085, allocations: 193.6 kB / 299.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1085, allocations: 1.031 kB / 299.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000182/0.1087, allocations: 182.8 kB / 299.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1087, allocations: 7.328 kB / 299.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1087, allocations: 5.188 kB / 299.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1088, allocations: 7.188 kB / 299.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.1088, allocations: 37.05 kB / 299.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.403e-06/0.1089, allocations: 5.562 kB / 299.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.1089, allocations: 32.08 kB / 299.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1089, allocations: 12.12 kB / 299.7 MB, free: 14.2 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.0001202/0.1091, allocations: 160.3 kB / 299.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.1091, allocations: 48.55 kB / 299.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1093, allocations: 176.3 kB / 300 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1093, allocations: 7.719 kB / 300.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1093, allocations: 2.969 kB / 300.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1093, allocations: 1.641 kB / 300.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1095, allocations: 205.5 kB / 300.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1095, allocations: 0.6094 kB / 300.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.1095, allocations: 17.11 kB / 300.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1095, allocations: 5.438 kB / 300.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1095, allocations: 8.234 kB / 300.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1096, allocations: 1.688 kB / 300.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1096, allocations: 1.281 kB / 300.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1097, allocations: 186.7 kB / 300.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1097, allocations: 51.11 kB / 300.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1098, allocations: 14.03 kB / 300.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.1098, allocations: 13.11 kB / 300.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1099, allocations: 23.88 kB / 300.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1099, allocations: 15.64 kB / 300.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1101, allocations: 250.1 kB / 300.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1101, allocations: 3.625 kB / 300.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.1103, allocations: 102.9 kB / 300.9 MB, free: 13.62 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.001006/0.1113, allocations: 0.5521 MB / 301.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1115, allocations: 135.3 kB / 301.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.1115, allocations: 9.562 kB / 301.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.1116, allocations: 74.61 kB / 301.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1118, allocations: 137.2 kB / 301.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.1125, allocations: 0.7255 MB / 302.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.1125, allocations: 130.6 kB / 302.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.1126, allocations: 67.53 kB / 302.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1128, allocations: 135.6 kB / 302.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1128, allocations: 0 / 302.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Templates: time 0.007823/0.1206, allocations: 7.289 MB / 310.2 MB, free: 7.27 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.6005574716255]