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.000753/0.000753, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0007703/0.0007703, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8453/0.8453, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.03362/0.03362, allocations: 8.62 MB / 268.6 MB, free: 5.117 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.372e-06/1.372e-06, allocations: 0 / 396.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.296e-05, allocations: 2.281 kB / 396.3 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.00342/0.003443, allocations: 2.23 MB / 398.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.005938, allocations: 1.531 MB / 400.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.006148, allocations: 11.88 kB / 400.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.007133, allocations: 0.4945 MB / 400.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.007879, allocations: 382.5 kB / 401 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.008494, allocations: 406.4 kB / 401.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.008926, allocations: 0.5959 MB / 402 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.009075, allocations: 69.95 kB / 402 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.009321, allocations: 323.2 kB / 402.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.009508, allocations: 231.4 kB / 402.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.009541, allocations: 36 kB / 402.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.009751, allocations: 191.6 kB / 402.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.009865, allocations: 159.5 kB / 403 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.009957, allocations: 127.5 kB / 403.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.01042, allocations: 0.6268 MB / 403.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01042, allocations: 0 / 403.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01042, allocations: 0 / 403.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01043, allocations: 0 / 403.7 MB, free: 10.75 MB / 378.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.0008558/0.01128, allocations: 0.8791 MB / 404.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.01131, allocations: 8.031 kB / 404.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.01139, allocations: 60.56 kB / 404.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.0118, allocations: 412.3 kB / 405.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.01182, allocations: 16.36 kB / 405.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.01184, allocations: 16.38 kB / 405.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01209, allocations: 209.6 kB / 405.3 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.0121, allocations: 7.938 kB / 405.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.01212, allocations: 4 kB / 405.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.01213, allocations: 8 kB / 405.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.0123, allocations: 135.9 kB / 405.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.01294, allocations: 0.5661 MB / 406 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.01323, allocations: 214.9 kB / 406.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.01333, allocations: 80.81 kB / 406.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.01334, allocations: 7.938 kB / 406.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.01356, allocations: 191 kB / 406.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.01356, allocations: 0 / 406.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.000507/0.01407, allocations: 419.6 kB / 406.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.01411, allocations: 63.33 kB / 407 MB, free: 7.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.01466, allocations: 0.7334 MB / 407.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.01468, allocations: 37.7 kB / 407.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.0148, allocations: 244.6 kB / 408 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.01485, allocations: 75.39 kB / 408.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01491, allocations: 69.69 kB / 408.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.015, allocations: 366.8 kB / 408.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01511, allocations: 76.23 kB / 408.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.01528, allocations: 262.5 kB / 408.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.01555, allocations: 273.2 kB / 409.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01556, allocations: 4 kB / 409.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003361/0.01589, allocations: 348.9 kB / 409.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01591, allocations: 11.94 kB / 409.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01591, allocations: 0 / 409.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01593, allocations: 4 kB / 409.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.01602, allocations: 44.03 kB / 409.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01603, allocations: 8 kB / 409.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.01612, allocations: 27.88 kB / 409.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01614, allocations: 12 kB / 409.5 MB, free: 4.633 MB / 378.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.0001998/0.01634, allocations: 246.9 kB / 409.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.01638, allocations: 59.56 kB / 409.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.01693, allocations: 364.6 kB / 410.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.01694, allocations: 8 kB / 410.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01694, allocations: 0 / 410.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01695, allocations: 3.984 kB / 410.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.01725, allocations: 313 kB / 410.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01725, allocations: 0 / 410.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.01731, allocations: 16 kB / 410.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01731, allocations: 3.984 kB / 410.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.01733, allocations: 11.94 kB / 410.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01733, allocations: 0 / 410.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01733, allocations: 0 / 410.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.01782, allocations: 392.5 kB / 410.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.01789, allocations: 55.59 kB / 411 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.01794, allocations: 11.94 kB / 411 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.01803, allocations: 11.98 kB / 411 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.01808, allocations: 23.95 kB / 411 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.0181, allocations: 12 kB / 411 MB, free: 3.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005304/0.01863, allocations: 0.53 MB / 411.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01863, allocations: 0 / 411.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.01898, allocations: 103.8 kB / 411.7 MB, free: 2.434 MB / 378.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.0008459/0.01982, allocations: 495.2 kB / 412.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.02014, allocations: 224.2 kB / 412.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02014, allocations: 0 / 412.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.02027, allocations: 120.4 kB / 412.5 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.02059, allocations: 142.9 kB / 412.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009576/0.02155, allocations: 0.9298 MB / 413.5 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.02172, allocations: 263.5 kB / 413.8 MB, free: 424 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.02179, allocations: 48.44 kB / 413.9 MB, free: 376 kB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02179, allocations: 0 / 413.9 MB, free: 376 kB / 378.7 MB Notification: Performance of Templates: time 0.006472/0.02827, allocations: 7.584 MB / 421.4 MB, free: 8.812 MB / 394.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: 5.360257632099092] Failed to read output from testmodel.py, exit status != 0: 0.03441255073994398 0.041387998 0.029243197000000002 Calling exit ...