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.001355/0.001355, allocations: 93.06 kB / 19.65 MB, free: 280 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.001338/0.001338, allocations: 169 kB / 23.02 MB, free: 1.555 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03748/0.03748, allocations: 8.615 MB / 268.6 MB, free: 4.93 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.432e-06/1.432e-06, allocations: 0 / 340.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.73e-05, allocations: 2.312 kB / 340.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.005739/0.005757, allocations: 2.332 MB / 343.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.008872, allocations: 1.578 MB / 344.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.009131, allocations: 11.88 kB / 344.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.01039, allocations: 0.4946 MB / 345.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.01119, allocations: 386.5 kB / 345.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.01214, allocations: 387 kB / 346 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.01288, allocations: 0.5998 MB / 346.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.01305, allocations: 71.77 kB / 346.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.01339, allocations: 323.2 kB / 347 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.0136, allocations: 231.4 kB / 347.2 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.01364, allocations: 28 kB / 347.3 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.0139, allocations: 195.5 kB / 347.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.01403, allocations: 159.4 kB / 347.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.01414, allocations: 131.5 kB / 347.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.0146, allocations: 482.1 kB / 348.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01461, allocations: 0 / 348.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01461, allocations: 0 / 348.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.01461, allocations: 0 / 348.2 MB, free: 2.078 MB / 314.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.0009381/0.01555, allocations: 0.9674 MB / 349.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01559, allocations: 8.031 kB / 349.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.01569, allocations: 84.48 kB / 349.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.01613, allocations: 423.8 kB / 349.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.01615, allocations: 16.12 kB / 349.7 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.01618, allocations: 20.36 kB / 349.7 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.0164, allocations: 146.1 kB / 349.9 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01642, allocations: 3.938 kB / 349.9 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.01643, allocations: 4 kB / 349.9 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.01645, allocations: 4 kB / 349.9 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01656, allocations: 71.94 kB / 350 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.01726, allocations: 0.6121 MB / 350.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.01747, allocations: 135.4 kB / 350.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.01754, allocations: 43.66 kB / 350.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.01756, allocations: 4 kB / 350.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.01775, allocations: 144.8 kB / 350.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.505e-06/0.01775, allocations: 0 / 350.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004222/0.01817, allocations: 316 kB / 351.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.01821, allocations: 55.41 kB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.01867, allocations: 0.6002 MB / 351.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01869, allocations: 33.7 kB / 351.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.01885, allocations: 307.3 kB / 352.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.0189, allocations: 67.52 kB / 352.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.01896, allocations: 71.34 kB / 352.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.01912, allocations: 0.5508 MB / 352.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.01918, allocations: 32.25 kB / 352.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.01933, allocations: 254 kB / 353.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.01953, allocations: 200.4 kB / 353.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01953, allocations: 7.938 kB / 353.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002973/0.01983, allocations: 249 kB / 353.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01985, allocations: 11.94 kB / 353.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.01986, allocations: 7.984 kB / 353.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01987, allocations: 4 kB / 353.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01998, allocations: 43.91 kB / 353.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01999, allocations: 12.19 kB / 353.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.02008, allocations: 31.83 kB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.0201, allocations: 12 kB / 353.7 MB, free: 12.21 MB / 330.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.0001819/0.02028, allocations: 205.6 kB / 353.9 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.02034, allocations: 75.56 kB / 354 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.0207, allocations: 269.7 kB / 354.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.02071, allocations: 4 kB / 354.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02071, allocations: 0 / 354.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02072, allocations: 3.984 kB / 354.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.02103, allocations: 332.3 kB / 354.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02103, allocations: 4 kB / 354.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.02107, allocations: 15.94 kB / 354.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.02107, allocations: 0 / 354.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.02109, allocations: 15.92 kB / 354.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.02109, allocations: 8 kB / 354.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.02109, allocations: 0 / 354.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.0214, allocations: 312 kB / 354.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.02146, allocations: 55.56 kB / 355 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.02149, allocations: 15.92 kB / 355 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.02156, allocations: 15.98 kB / 355 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.02162, allocations: 19.97 kB / 355 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.02164, allocations: 15.98 kB / 355.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.022, allocations: 398.7 kB / 355.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.022, allocations: 4 kB / 355.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.0223, allocations: 103.8 kB / 355.5 MB, free: 10.31 MB / 330.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.0009353/0.02324, allocations: 452.6 kB / 356 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.0235, allocations: 155.4 kB / 356.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02351, allocations: 0 / 356.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.02361, allocations: 88.03 kB / 356.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.02397, allocations: 133.8 kB / 356.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.02478, allocations: 0.739 MB / 357.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.142e-05/0.02486, allocations: 133.2 kB / 357.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.02499, allocations: 71.36 kB / 357.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.02506, allocations: 44.5 kB / 357.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02506, allocations: 0 / 357.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of Templates: time 0.01002/0.03508, allocations: 6.72 MB / 364.1 MB, free: 1.984 MB / 330.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: 3.17943958286196]