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.002316/0.002316, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002854/0.002854, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.649/1.649, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1234/0.1234, allocations: 8.61 MB / 268.2 MB, free: 4.938 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.553e-06/1.553e-06, allocations: 0 / 340.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.321e-05, allocations: 2.312 kB / 340.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.00282/0.002843, allocations: 2.299 MB / 342.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.004988, allocations: 1.562 MB / 344 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.005125, allocations: 11.88 kB / 344 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009956/0.006121, allocations: 0.4907 MB / 344.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.006741, allocations: 390.4 kB / 344.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.007477, allocations: 391 kB / 345.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.007892, allocations: 0.596 MB / 345.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.008044, allocations: 57.98 kB / 345.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.008337, allocations: 331.1 kB / 346.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.008547, allocations: 231.4 kB / 346.5 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.008599, allocations: 28 kB / 346.5 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.008909, allocations: 195.6 kB / 346.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.009061, allocations: 159.5 kB / 346.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.009194, allocations: 135.5 kB / 347 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.009733, allocations: 0.619 MB / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.009738, allocations: 0 / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009739, allocations: 0 / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009747, allocations: 0 / 347.6 MB, free: 1.227 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.001073/0.01082, allocations: 1.018 MB / 348.6 MB, free: 156 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.01085, allocations: 12.03 kB / 348.6 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.01096, allocations: 72.52 kB / 348.7 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.01169, allocations: 411.2 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.01171, allocations: 12.38 kB / 349.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.01175, allocations: 20.31 kB / 349.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.01215, allocations: 177.8 kB / 349.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01216, allocations: 7.922 kB / 349.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.01218, allocations: 4 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.0122, allocations: 8 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.01247, allocations: 95.94 kB / 349.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.01376, allocations: 0.6983 MB / 350.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.01423, allocations: 183.4 kB / 350.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.01439, allocations: 59.66 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01442, allocations: 8 kB / 350.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.01478, allocations: 163.1 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.01478, allocations: 4 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008514/0.01563, allocations: 351.5 kB / 350.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.01569, allocations: 55.41 kB / 350.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.01673, allocations: 0.7408 MB / 351.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.01677, allocations: 33.7 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.01711, allocations: 339.3 kB / 352 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.01721, allocations: 75.52 kB / 352.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01734, allocations: 83.34 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004201/0.01776, allocations: 0.5938 MB / 352.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.01792, allocations: 48.25 kB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.01828, allocations: 282.1 kB / 353.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.01875, allocations: 256.3 kB / 353.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.01875, allocations: 4 kB / 353.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006123/0.01937, allocations: 289.1 kB / 353.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01939, allocations: 7.938 kB / 353.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.01941, allocations: 4 kB / 353.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.01943, allocations: 4 kB / 353.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.0196, allocations: 35.92 kB / 353.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.01961, allocations: 7.984 kB / 353.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.01978, allocations: 27.83 kB / 353.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.01981, allocations: 12 kB / 353.7 MB, free: 10.73 MB / 282.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.0003375/0.02015, allocations: 241.7 kB / 354 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02025, allocations: 67.55 kB / 354 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.02095, allocations: 314.8 kB / 354.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.02096, allocations: 4 kB / 354.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02096, allocations: 0 / 354.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02097, allocations: 4 kB / 354.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.02159, allocations: 412.3 kB / 354.8 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02159, allocations: 0 / 354.8 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.02166, allocations: 15.98 kB / 354.8 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.02167, allocations: 4 kB / 354.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.02169, allocations: 7.938 kB / 354.8 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02169, allocations: 4 kB / 354.8 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02169, allocations: 0 / 354.8 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.02236, allocations: 360.1 kB / 355.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.02247, allocations: 59.55 kB / 355.2 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.02254, allocations: 11.94 kB / 355.2 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.02266, allocations: 11.98 kB / 355.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.02275, allocations: 27.95 kB / 355.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.02277, allocations: 12 kB / 355.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006305/0.02341, allocations: 470.7 kB / 355.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02341, allocations: 0 / 355.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.02383, allocations: 99.81 kB / 355.8 MB, free: 8.586 MB / 282.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.00315/0.02698, allocations: 0.4907 MB / 356.3 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.02753, allocations: 203.7 kB / 356.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02754, allocations: 0 / 356.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.02777, allocations: 107.6 kB / 356.6 MB, free: 7.953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.02846, allocations: 137 kB / 356.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.02983, allocations: 0.777 MB / 357.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.03014, allocations: 260 kB / 357.8 MB, free: 6.738 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.03034, allocations: 75.5 kB / 357.9 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.03045, allocations: 44.48 kB / 357.9 MB, free: 6.621 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03045, allocations: 4 kB / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Templates: time 0.01499/0.04544, allocations: 6.683 MB / 364.6 MB, free: 44 kB / 282.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: 4.9286563990172]