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.001424/0.001424, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001961/0.001961, allocations: 165.1 kB / 22.46 MB, free: 5.375 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.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.1076/0.1076, allocations: 8.606 MB / 267.8 MB, free: 8.551 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: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 395.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.397e-05, allocations: 6.281 kB / 395.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003857/0.003881, allocations: 2.228 MB / 397.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.007157, allocations: 1.535 MB / 399.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.007328, allocations: 11.88 kB / 399.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.008669, allocations: 0.4979 MB / 399.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.009587, allocations: 378.5 kB / 400.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.01065, allocations: 394.5 kB / 400.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.01136, allocations: 0.5998 MB / 401.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.01157, allocations: 69.75 kB / 401.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.01203, allocations: 327.1 kB / 401.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.01236, allocations: 231.4 kB / 401.8 MB, free: 404 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.01242, allocations: 28 kB / 401.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.01278, allocations: 195.5 kB / 402 MB, free: 180 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.01301, allocations: 167.5 kB / 402.2 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.01323, allocations: 123.7 kB / 402.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009524/0.01418, allocations: 0.6229 MB / 402.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.01419, allocations: 0 / 402.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.01419, allocations: 4 kB / 403 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.0142, allocations: 0 / 403 MB, free: 15.26 MB / 334.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.001653/0.01586, allocations: 0.8675 MB / 403.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.0159, allocations: 11.97 kB / 403.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.01602, allocations: 64.52 kB / 403.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.01671, allocations: 412.3 kB / 404.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.01673, allocations: 16.36 kB / 404.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.01677, allocations: 20.38 kB / 404.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.0172, allocations: 205.6 kB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01721, allocations: 3.938 kB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.01724, allocations: 7.984 kB / 404.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.01726, allocations: 8 kB / 404.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.01754, allocations: 131.9 kB / 404.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01856, allocations: 0.5659 MB / 405.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.01911, allocations: 222.9 kB / 405.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.0193, allocations: 84.8 kB / 405.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01933, allocations: 7.938 kB / 405.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.01972, allocations: 191 kB / 405.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.01972, allocations: 3.938 kB / 405.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009192/0.02064, allocations: 424 kB / 406.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.02073, allocations: 63.39 kB / 406.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009811/0.02171, allocations: 0.7333 MB / 407 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.02174, allocations: 33.7 kB / 407 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.02198, allocations: 244.6 kB / 407.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.02207, allocations: 75.45 kB / 407.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.02217, allocations: 53.7 kB / 407.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.02241, allocations: 374.8 kB / 407.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.02259, allocations: 76.23 kB / 407.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.02295, allocations: 262.2 kB / 408.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.02347, allocations: 285.2 kB / 408.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02347, allocations: 0 / 408.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000628/0.0241, allocations: 337 kB / 408.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.02412, allocations: 7.938 kB / 408.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.02413, allocations: 4 kB / 408.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.02415, allocations: 4 kB / 408.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.02432, allocations: 44.16 kB / 408.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.02433, allocations: 4 kB / 408.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.02451, allocations: 39.77 kB / 408.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.02454, allocations: 8 kB / 408.8 MB, free: 9.145 MB / 334.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.0003259/0.02486, allocations: 246.8 kB / 409 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.02494, allocations: 59.56 kB / 409.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.02566, allocations: 368.6 kB / 409.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.02567, allocations: 0 / 409.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.02567, allocations: 4 kB / 409.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.02568, allocations: 0 / 409.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.02612, allocations: 317 kB / 409.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02612, allocations: 0 / 409.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.02618, allocations: 12 kB / 409.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02619, allocations: 4 kB / 409.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.02621, allocations: 15.92 kB / 409.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.02622, allocations: 4 kB / 409.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02622, allocations: 0 / 409.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.02694, allocations: 380.5 kB / 410.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.781e-05/0.02704, allocations: 59.55 kB / 410.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.0271, allocations: 15.88 kB / 410.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.02724, allocations: 15.98 kB / 410.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.02731, allocations: 23.95 kB / 410.3 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.02734, allocations: 16 kB / 410.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006534/0.028, allocations: 0.53 MB / 410.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.028, allocations: 0 / 410.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.0284, allocations: 99.81 kB / 410.9 MB, free: 6.945 MB / 334.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.001757/0.03016, allocations: 498.1 kB / 411.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.03072, allocations: 235.8 kB / 411.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03072, allocations: 0 / 411.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.03097, allocations: 111.9 kB / 411.7 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.03158, allocations: 126.3 kB / 411.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.03307, allocations: 0.8812 MB / 412.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.03339, allocations: 272 kB / 413 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.0336, allocations: 87.44 kB / 413.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.03372, allocations: 52.42 kB / 413.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.03372, allocations: 4 kB / 413.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Templates: time 0.01429/0.04802, allocations: 6.656 MB / 419.8 MB, free: 14.29 MB / 350.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: 4.678302843123674] Failed to read output from testmodel.py, exit status != 0: 0.056588951498270035 0.072011558 0.05474909 Calling exit ...