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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 118.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.08751/0.08751, allocations: 11.35 MB / 314.7 MB, free: 0.8477 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00195/0.00195, allocations: 71.88 kB / 438.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2514, allocations: 54.82 MB / 493.3 MB, free: 24.19 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003155/0.2546, allocations: 2.304 MB / 495.6 MB, free: 22.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2567, allocations: 1.476 MB / 497.1 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2569, allocations: 8.375 kB / 497.1 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.2579, allocations: 489.9 kB / 497.6 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.2585, allocations: 316.8 kB / 497.9 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2596, allocations: 482 kB / 498.4 MB, free: 21.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.2601, allocations: 0.5407 MB / 498.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2603, allocations: 75.69 kB / 499 MB, free: 20.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.2605, allocations: 241.5 kB / 499.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.2608, allocations: 264 kB / 499.5 MB, free: 20.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.2609, allocations: 31.12 kB / 499.5 MB, free: 20.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.2612, allocations: 166.8 kB / 499.7 MB, free: 20.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.2613, allocations: 165.4 kB / 499.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2615, allocations: 206.6 kB / 0.4883 GB, free: 20.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.262, allocations: 0.6077 MB / 0.4889 GB, free: 19.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.262, allocations: 0 / 0.4889 GB, free: 19.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.262, allocations: 4 kB / 0.4889 GB, free: 19.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.2621, allocations: 1.312 kB / 0.4889 GB, free: 19.59 MB / 366.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.001174/0.2632, allocations: 0.9276 MB / 0.4898 GB, free: 18.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2633, allocations: 10.19 kB / 0.4898 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2634, allocations: 59.69 kB / 0.4899 GB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.2639, allocations: 468 kB / 0.4903 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2639, allocations: 23.98 kB / 0.4904 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.2639, allocations: 20.41 kB / 0.4904 GB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.2643, allocations: 244.5 kB / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2643, allocations: 0 / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2644, allocations: 6.688 kB / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.2644, allocations: 7.828 kB / 0.4906 GB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.2646, allocations: 133.9 kB / 0.4908 GB, free: 18.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.2655, allocations: 0.6759 MB / 0.4914 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.266, allocations: 218.8 kB / 0.4916 GB, free: 17.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.2661, allocations: 79.69 kB / 0.4917 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2662, allocations: 2.5 kB / 0.4917 GB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.2665, allocations: 174.2 kB / 0.4919 GB, free: 17.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.2665, allocations: 4 kB / 0.4919 GB, free: 17.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007661/0.2672, allocations: 412.6 kB / 0.4923 GB, free: 17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.2673, allocations: 133 kB / 0.4924 GB, free: 16.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.268, allocations: 0.7112 MB / 0.4931 GB, free: 16.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2681, allocations: 33.95 kB / 0.4931 GB, free: 16.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2682, allocations: 249 kB / 0.4934 GB, free: 16.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.2682, allocations: 63.5 kB / 0.4934 GB, free: 16.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.2683, allocations: 62.75 kB / 0.4935 GB, free: 16.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.2684, allocations: 366.8 kB / 0.4938 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2686, allocations: 73.58 kB / 0.4939 GB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2688, allocations: 203.8 kB / 0.4941 GB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.2692, allocations: 271.3 kB / 0.4944 GB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2692, allocations: 5.094 kB / 0.4944 GB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005078/0.2697, allocations: 327.1 kB / 0.4947 GB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2697, allocations: 7.125 kB / 0.4947 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2697, allocations: 6.234 kB / 0.4947 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.2697, allocations: 4.25 kB / 0.4947 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2699, allocations: 41.39 kB / 0.4947 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2699, allocations: 8.281 kB / 0.4947 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2701, allocations: 31.61 kB / 0.4948 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2701, allocations: 17.42 kB / 0.4948 GB, free: 15.11 MB / 366.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.0002887/0.2704, allocations: 249.7 kB / 0.495 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.2705, allocations: 57.25 kB / 0.4951 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.2706, allocations: 55.16 kB / 0.4951 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2706, allocations: 4.25 kB / 0.4951 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2706, allocations: 3.938 kB / 0.4951 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2706, allocations: 3.984 kB / 0.4951 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.271, allocations: 404.9 kB / 0.4955 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.271, allocations: 1.25 kB / 0.4955 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.271, allocations: 17.14 kB / 0.4955 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.271, allocations: 1.438 kB / 0.4955 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.271, allocations: 7.312 kB / 0.4956 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.271, allocations: 1.062 kB / 0.4956 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.271, allocations: 0 / 0.4956 GB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.2716, allocations: 371.3 kB / 0.4959 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.2717, allocations: 131.1 kB / 0.496 GB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.2717, allocations: 11.42 kB / 0.496 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2719, allocations: 15.83 kB / 0.4961 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.2719, allocations: 19.97 kB / 0.4961 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2719, allocations: 17.84 kB / 0.4961 GB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005296/0.2725, allocations: 0.5093 MB / 0.4966 GB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2725, allocations: 0 / 0.4966 GB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.2729, allocations: 98.98 kB / 0.4967 GB, free: 13.8 MB / 366.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 (booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 13 * 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.001566/0.2745, allocations: 462.5 kB / 0.4971 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.275, allocations: 216 kB / 0.4973 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.275, allocations: 0 / 0.4973 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2752, allocations: 106.4 kB / 0.4974 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.2758, allocations: 132 kB / 0.4976 GB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2771, allocations: 0.8931 MB / 0.4984 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2773, allocations: 0.8544 MB / 0.4993 GB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2774, allocations: 46.17 kB / 0.4993 GB, free: 12.03 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2774, allocations: 0 / 0.4993 GB, free: 12.03 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.2878, allocations: 7.298 MB / 0.5064 GB, free: 7.375 MB / 366.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.386576215038076] Failed to read output from testmodel.py, exit status != 0: 0.29587154695764184 0.306186401 0.041314186 Calling exit ...