Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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.001237/0.001237, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001362/0.001362, allocations: 219 kB / 23.03 MB, free: 4.945 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.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.06121/0.06121, allocations: 11.35 MB / 324.6 MB, free: 8.043 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: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1018, allocations: 56.06 MB / 0.4959 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003218/0.1051, allocations: 1.97 MB / 0.4978 GB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1073, allocations: 1.333 MB / 0.4991 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1074, allocations: 7.875 kB / 0.4991 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1082, allocations: 310.4 kB / 0.4994 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1087, allocations: 263.1 kB / 0.4997 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.1093, allocations: 265.8 kB / 0.4999 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.1097, allocations: 363.1 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1098, allocations: 33.2 kB / 0.5003 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.11, allocations: 155.4 kB / 0.5005 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1102, allocations: 159.4 kB / 0.5006 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.1102, allocations: 20 kB / 0.5006 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1104, allocations: 127.8 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1105, allocations: 87.67 kB / 0.5008 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1107, allocations: 103.3 kB / 0.5009 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.1111, allocations: 390.5 kB / 0.5013 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.1111, allocations: 4 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1111, allocations: 3.938 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1111, allocations: 0 / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009717/0.1121, allocations: 0.6149 MB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1121, allocations: 8.031 kB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.985e-05/0.1122, allocations: 4.375 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.1122, allocations: 42.73 kB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.1123, allocations: 32.75 kB / 0.502 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1127, allocations: 296.5 kB / 0.5023 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1127, allocations: 4 kB / 0.5023 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1127, allocations: 15.98 kB / 0.5023 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1131, allocations: 203.6 kB / 0.5025 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1131, allocations: 0 / 0.5025 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1131, allocations: 4 kB / 0.5025 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1131, allocations: 4 kB / 0.5025 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.1133, allocations: 83.81 kB / 0.5026 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.114, allocations: 435.6 kB / 0.503 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.1144, allocations: 146.8 kB / 0.5031 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1145, allocations: 52.83 kB / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1145, allocations: 4 kB / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.1148, allocations: 131.3 kB / 0.5033 GB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1148, allocations: 7.938 kB / 0.5033 GB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006178/0.1154, allocations: 297.3 kB / 0.5036 GB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.1155, allocations: 114.8 kB / 0.5037 GB, free: 9.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.116, allocations: 445.6 kB / 0.5042 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.116, allocations: 37.69 kB / 0.5042 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1161, allocations: 168.4 kB / 0.5043 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1162, allocations: 47.62 kB / 0.5044 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.1162, allocations: 49.91 kB / 0.5044 GB, free: 9.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1164, allocations: 350.7 kB / 0.5048 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1165, allocations: 60.06 kB / 0.5048 GB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1167, allocations: 252.8 kB / 0.5051 GB, free: 8.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1171, allocations: 200.4 kB / 0.5053 GB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1171, allocations: 0 / 0.5053 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004218/0.1175, allocations: 237.2 kB / 0.5055 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1175, allocations: 10.34 kB / 0.5055 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1175, allocations: 0 / 0.5055 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1175, allocations: 4.25 kB / 0.5055 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1177, allocations: 43.84 kB / 0.5055 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1177, allocations: 4 kB / 0.5055 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1178, allocations: 23.83 kB / 0.5056 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1178, allocations: 12 kB / 0.5056 GB, free: 7.91 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) \"status of the timer\" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) \"residual time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * 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.0002239/0.118, allocations: 188.3 kB / 0.5058 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.1181, allocations: 31.89 kB / 0.5058 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.1186, allocations: 268.8 kB / 0.5061 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1186, allocations: 4 kB / 0.5061 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1186, allocations: 0 / 0.5061 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1186, allocations: 11.92 kB / 0.5061 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1189, allocations: 248.6 kB / 0.5063 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1189, allocations: 0 / 0.5063 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.1189, allocations: 15.94 kB / 0.5063 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1189, allocations: 0 / 0.5063 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1189, allocations: 11.98 kB / 0.5063 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1189, allocations: 0 / 0.5063 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1189, allocations: 4 kB / 0.5063 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.1194, allocations: 286.4 kB / 0.5066 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1194, allocations: 31.8 kB / 0.5066 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.1195, allocations: 8 kB / 0.5066 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.1196, allocations: 7.984 kB / 0.5067 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.1196, allocations: 11.98 kB / 0.5067 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1197, allocations: 15.92 kB / 0.5067 GB, free: 6.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.12, allocations: 331.1 kB / 0.507 GB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.12, allocations: 0 / 0.507 GB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1203, allocations: 79.77 kB / 0.5071 GB, free: 6.32 MB / 382.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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002245/0.1226, allocations: 1.171 MB / 0.5082 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.1229, allocations: 163.8 kB / 0.5084 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1229, allocations: 0 / 0.5084 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1231, allocations: 80.39 kB / 0.5084 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1235, allocations: 91.52 kB / 0.5085 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1271, allocations: 3.049 MB / 0.5115 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.1273, allocations: 178.1 kB / 0.5117 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1274, allocations: 47.2 kB / 0.5117 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1276, allocations: 99.39 kB / 0.5118 GB, free: 1.461 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1276, allocations: 0 / 0.5118 GB, free: 1.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/0.3403, allocations: 8.45 MB / 0.5201 GB, free: 21.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 6.594 kB / 0.5201 GB, free: 21.94 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge.fmu > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.597029340919107] Failed to read output from testmodel.py, exit status != 0: 11.31446132203564 11.326847932 11.213291569 Calling exit ...