Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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.001476/0.001476, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001651/0.001651, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.06228/0.06228, allocations: 11.34 MB / 324.6 MB, free: 8.316 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_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Redge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Redge",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.00188/0.00188, allocations: 55.91 kB / 451.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 56.07 MB / 0.496 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.003435/0.1072, allocations: 2.056 MB / 0.498 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1095, allocations: 1.425 MB / 0.4994 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1096, allocations: 7.938 kB / 0.4994 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.1104, allocations: 322 kB / 0.4997 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1109, allocations: 255.1 kB / 0.4999 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.1115, allocations: 266.8 kB / 0.5002 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.1119, allocations: 375 kB / 0.5006 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1121, allocations: 37.19 kB / 0.5006 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1123, allocations: 155.4 kB / 0.5007 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1125, allocations: 163.4 kB / 0.5009 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1125, allocations: 20 kB / 0.5009 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.1127, allocations: 127.8 kB / 0.501 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1128, allocations: 87.69 kB / 0.5011 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.113, allocations: 143.1 kB / 0.5013 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1134, allocations: 394.4 kB / 0.5016 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1134, allocations: 7.938 kB / 0.5016 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1134, allocations: 4 kB / 0.5016 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1134, allocations: 0 / 0.5016 GB, free: 12.59 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.0009743/0.1144, allocations: 0.6089 MB / 0.5022 GB, free: 11.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1145, allocations: 12.03 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.1145, allocations: 8.375 kB / 0.5023 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1145, allocations: 42.73 kB / 0.5023 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1146, allocations: 36.7 kB / 0.5023 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.115, allocations: 296.5 kB / 0.5026 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.115, allocations: 8 kB / 0.5026 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1151, allocations: 12 kB / 0.5026 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1154, allocations: 149.8 kB / 0.5028 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1154, allocations: 4 kB / 0.5028 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1154, allocations: 4 kB / 0.5028 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1154, allocations: 3.938 kB / 0.5028 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1156, allocations: 75.89 kB / 0.5029 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.1162, allocations: 455.5 kB / 0.5033 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.1166, allocations: 146.7 kB / 0.5034 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1168, allocations: 56.92 kB / 0.5035 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1168, allocations: 0 / 0.5035 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.117, allocations: 139.2 kB / 0.5036 GB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.117, allocations: 0 / 0.5036 GB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006038/0.1177, allocations: 283.7 kB / 0.5039 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.1177, allocations: 110.8 kB / 0.504 GB, free: 9.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1182, allocations: 465.5 kB / 0.5044 GB, free: 9.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1183, allocations: 33.7 kB / 0.5045 GB, free: 9.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1184, allocations: 180.3 kB / 0.5047 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1185, allocations: 51.67 kB / 0.5047 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.1185, allocations: 49.7 kB / 0.5047 GB, free: 9.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1187, allocations: 346.8 kB / 0.5051 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1188, allocations: 40.42 kB / 0.5051 GB, free: 8.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.119, allocations: 156.2 kB / 0.5053 GB, free: 8.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1193, allocations: 188.4 kB / 0.5054 GB, free: 8.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1193, allocations: 4 kB / 0.5055 GB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000405/0.1197, allocations: 237.2 kB / 0.5057 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1198, allocations: 8 kB / 0.5057 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1198, allocations: 0 / 0.5057 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1198, allocations: 4 kB / 0.5057 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1199, allocations: 39.86 kB / 0.5057 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1199, allocations: 4 kB / 0.5057 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.12, allocations: 28.06 kB / 0.5058 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.12, allocations: 12 kB / 0.5058 GB, free: 8.059 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.0002256/0.1202, allocations: 188.3 kB / 0.5059 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.1203, allocations: 35.77 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.1208, allocations: 240.8 kB / 0.5062 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1208, allocations: 11.98 kB / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1208, allocations: 0 / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1208, allocations: 3.938 kB / 0.5062 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1211, allocations: 280.4 kB / 0.5065 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1211, allocations: 0 / 0.5065 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.1211, allocations: 15.92 kB / 0.5065 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1211, allocations: 0 / 0.5065 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.1211, allocations: 8 kB / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1211, allocations: 128 / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1211, allocations: 4 kB / 0.5065 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.1216, allocations: 271.5 kB / 0.5068 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1216, allocations: 35.8 kB / 0.5068 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1217, allocations: 0 / 0.5068 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.1218, allocations: 15.98 kB / 0.5068 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1218, allocations: 11.92 kB / 0.5068 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1218, allocations: 11.98 kB / 0.5069 GB, free: 6.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.1222, allocations: 339.1 kB / 0.5072 GB, free: 6.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 7.938 kB / 0.5072 GB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.1225, allocations: 71.86 kB / 0.5073 GB, free: 6.473 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 (17): * Single equations (assignments): 9 * 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.002128/0.1247, allocations: 1.123 MB / 0.5083 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.125, allocations: 150.2 kB / 0.5085 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.125, allocations: 0 / 0.5085 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1252, allocations: 71.91 kB / 0.5086 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1256, allocations: 91.75 kB / 0.5086 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.1293, allocations: 3.104 MB / 0.5117 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1297, allocations: 0.7753 MB / 0.5124 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1299, allocations: 42.95 kB / 0.5125 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.13, allocations: 99.39 kB / 0.5126 GB, free: 1 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.13, allocations: 0 / 0.5126 GB, free: 1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/0.3481, allocations: 8.197 MB / 0.5206 GB, free: 21.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 7.719 kB / 0.5206 GB, free: 21.94 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Redge_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Redge.fmu > IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.725150409969501] Failed to read output from testmodel.py, exit status != 0: 11.394878846011125 11.407501139 11.291565035 Calling exit ...