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.001286/0.001286, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.00142/0.00142, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.07453/0.07453, allocations: 11.35 MB / 324.5 MB, free: 8.039 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.88 kB / 452.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1162, allocations: 56.07 MB / 0.4964 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003983/0.1202, allocations: 2.228 MB / 0.4986 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1233, allocations: 1.543 MB / 0.5001 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1234, allocations: 11.88 kB / 0.5001 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.1246, allocations: 497.4 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008178/0.1255, allocations: 386.7 kB / 0.5009 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1265, allocations: 389.1 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.1272, allocations: 0.5883 MB / 0.5019 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1274, allocations: 69.89 kB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1277, allocations: 251 kB / 0.5022 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.128, allocations: 266.9 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.1281, allocations: 32 kB / 0.5025 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.1285, allocations: 187.7 kB / 0.5026 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1287, allocations: 163.4 kB / 0.5028 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1289, allocations: 158.9 kB / 0.5029 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.1296, allocations: 0.6263 MB / 0.5036 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1296, allocations: 0 / 0.5036 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1296, allocations: 0 / 0.5036 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1296, allocations: 4 kB / 0.5036 GB, free: 10.29 MB / 382.1 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.001498/0.1311, allocations: 0.8752 MB / 0.5044 GB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1312, allocations: 12.03 kB / 0.5044 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1313, allocations: 56.56 kB / 0.5045 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.132, allocations: 413 kB / 0.5049 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.132, allocations: 12.38 kB / 0.5049 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.132, allocations: 28.11 kB / 0.5049 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.1325, allocations: 209.6 kB / 0.5051 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1325, allocations: 0 / 0.5051 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.1325, allocations: 11.98 kB / 0.5051 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1325, allocations: 4 kB / 0.5051 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.1328, allocations: 127.9 kB / 0.5052 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1338, allocations: 0.574 MB / 0.5058 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.1344, allocations: 218.8 kB / 0.506 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.1346, allocations: 88.73 kB / 0.5061 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1346, allocations: 4 kB / 0.5061 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.135, allocations: 181.5 kB / 0.5063 GB, free: 7.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.135, allocations: 0 / 0.5063 GB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008725/0.1358, allocations: 428.7 kB / 0.5067 GB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1359, allocations: 59.39 kB / 0.5067 GB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.1368, allocations: 0.7334 MB / 0.5075 GB, free: 6.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.1369, allocations: 37.64 kB / 0.5075 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.1371, allocations: 252.6 kB / 0.5077 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.1372, allocations: 59.53 kB / 0.5078 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.1372, allocations: 61.69 kB / 0.5079 GB, free: 5.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.1375, allocations: 374.7 kB / 0.5082 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1376, allocations: 76.23 kB / 0.5083 GB, free: 5.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.138, allocations: 266.5 kB / 0.5085 GB, free: 4.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.1385, allocations: 289.2 kB / 0.5088 GB, free: 4.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1385, allocations: 0 / 0.5088 GB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006385/0.1391, allocations: 336.9 kB / 0.5091 GB, free: 4.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1391, allocations: 7.938 kB / 0.5091 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1391, allocations: 4 kB / 0.5091 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1392, allocations: 4 kB / 0.5091 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1393, allocations: 48.16 kB / 0.5092 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1393, allocations: 4 kB / 0.5092 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.1395, allocations: 31.81 kB / 0.5092 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.1395, allocations: 16 kB / 0.5092 GB, free: 4.168 MB / 382.1 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.0003383/0.1399, allocations: 250.7 kB / 0.5095 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.14, allocations: 55.62 kB / 0.5095 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.1407, allocations: 372.6 kB / 0.5099 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.1407, allocations: 4 kB / 0.5099 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1407, allocations: 0 / 0.5099 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1407, allocations: 0 / 0.5099 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.1411, allocations: 317 kB / 0.5102 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1411, allocations: 3.938 kB / 0.5102 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.1412, allocations: 16 kB / 0.5102 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1412, allocations: 8 kB / 0.5102 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1412, allocations: 3.984 kB / 0.5102 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1412, allocations: 4 kB / 0.5102 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1412, allocations: 0 / 0.5102 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.1419, allocations: 388.6 kB / 0.5106 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.142, allocations: 59.53 kB / 0.5107 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.142, allocations: 8 kB / 0.5107 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1422, allocations: 15.98 kB / 0.5107 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.1422, allocations: 23.95 kB / 0.5107 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.1423, allocations: 16 kB / 0.5107 GB, free: 2.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.1429, allocations: 0.5339 MB / 0.5112 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1429, allocations: 0 / 0.5112 GB, free: 2.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1434, allocations: 99.81 kB / 0.5113 GB, free: 1.961 MB / 382.1 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.001744/0.1451, allocations: 482.5 kB / 0.5118 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.1456, allocations: 240.2 kB / 0.512 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1456, allocations: 0 / 0.512 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1459, allocations: 119.9 kB / 0.5121 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.1464, allocations: 116.1 kB / 0.5123 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1479, allocations: 0.9266 MB / 0.5132 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1979/0.3458, allocations: 269.2 kB / 0.5134 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.346, allocations: 43.33 kB / 0.5135 GB, free: 22.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.783e-06/0.346, allocations: 0.7656 kB / 0.5135 GB, free: 22.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01452/0.3605, allocations: 7.556 MB / 0.5208 GB, free: 22.22 MB / 382.1 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: 8.616248807869852] Failed to read output from testmodel.py, exit status != 0: 0.3697885246947408 0.38218416600000005 0.24993597 Calling exit ...