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.001266/0.001266, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.0013/0.0013, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06056/0.06056, allocations: 11.34 MB / 320.9 MB, free: 14.12 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.001826/0.001826, allocations: 81.81 kB / 446.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09612, allocations: 56 MB / 0.4908 GB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002661/0.09878, allocations: 2.047 MB / 0.4928 GB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1005, allocations: 1.407 MB / 0.4941 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1006, allocations: 11.94 kB / 0.4941 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.1015, allocations: 299.1 kB / 0.4944 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.102, allocations: 255.1 kB / 0.4947 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.1026, allocations: 250.6 kB / 0.4949 GB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.1031, allocations: 375 kB / 0.4953 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1032, allocations: 33.02 kB / 0.4953 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1034, allocations: 155.4 kB / 0.4954 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.1036, allocations: 175.3 kB / 0.4956 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.1037, allocations: 16 kB / 0.4956 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.1039, allocations: 123.8 kB / 0.4957 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.104, allocations: 79.75 kB / 0.4958 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1042, allocations: 135.1 kB / 0.496 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.1047, allocations: 398.3 kB / 0.4963 GB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1047, allocations: 0 / 0.4963 GB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1047, allocations: 0 / 0.4963 GB, free: 13.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1047, allocations: 4 kB / 0.4963 GB, free: 13.72 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001094/0.1058, allocations: 0.6998 MB / 0.497 GB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1058, allocations: 8.031 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.1058, allocations: 4.375 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.1059, allocations: 38.75 kB / 0.4971 GB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.1059, allocations: 40.69 kB / 0.4971 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.1064, allocations: 358.4 kB / 0.4974 GB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1065, allocations: 7.938 kB / 0.4975 GB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1065, allocations: 12 kB / 0.4975 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1068, allocations: 148.2 kB / 0.4976 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1068, allocations: 0 / 0.4976 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1068, allocations: 11.98 kB / 0.4976 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1068, allocations: 0 / 0.4976 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.107, allocations: 75.89 kB / 0.4977 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.1078, allocations: 496.3 kB / 0.4982 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.1082, allocations: 134.8 kB / 0.4983 GB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1083, allocations: 60.78 kB / 0.4984 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1084, allocations: 7.984 kB / 0.4984 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1086, allocations: 133.5 kB / 0.4985 GB, free: 11.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.1086, allocations: 0 / 0.4985 GB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006363/0.1093, allocations: 289.2 kB / 0.4988 GB, free: 11.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.1094, allocations: 110.8 kB / 0.4989 GB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.1099, allocations: 469.5 kB / 0.4993 GB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1099, allocations: 33.7 kB / 0.4993 GB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1101, allocations: 164.4 kB / 0.4995 GB, free: 10.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1101, allocations: 55.61 kB / 0.4996 GB, free: 10.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.1102, allocations: 49.69 kB / 0.4996 GB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1104, allocations: 342.8 kB / 0.4999 GB, free: 9.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1105, allocations: 56.41 kB / 0.5 GB, free: 9.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1107, allocations: 144.3 kB / 0.5001 GB, free: 9.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.111, allocations: 200.3 kB / 0.5003 GB, free: 9.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.111, allocations: 4 kB / 0.5003 GB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004082/0.1114, allocations: 225.5 kB / 0.5005 GB, free: 9.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1115, allocations: 12 kB / 0.5005 GB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1115, allocations: 0 / 0.5005 GB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1115, allocations: 4 kB / 0.5005 GB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1116, allocations: 31.92 kB / 0.5006 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1116, allocations: 7.938 kB / 0.5006 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1117, allocations: 27.81 kB / 0.5006 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1117, allocations: 12 kB / 0.5006 GB, free: 8.98 MB / 366.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.0002355/0.112, allocations: 184.6 kB / 0.5008 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.112, allocations: 39.7 kB / 0.5008 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.1121, allocations: 31.36 kB / 0.5009 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1121, allocations: 4 kB / 0.5009 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1121, allocations: 0 / 0.5009 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.1121, allocations: 3.938 kB / 0.5009 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1124, allocations: 313.3 kB / 0.5012 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1124, allocations: 0 / 0.5012 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.1125, allocations: 16 kB / 0.5012 GB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1125, allocations: 0 / 0.5012 GB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1125, allocations: 7.984 kB / 0.5012 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1125, allocations: 0 / 0.5012 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1125, allocations: 0 / 0.5012 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.113, allocations: 266.1 kB / 0.5015 GB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.1131, allocations: 112.8 kB / 0.5016 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1131, allocations: 11.98 kB / 0.5016 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.1132, allocations: 11.94 kB / 0.5016 GB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.1133, allocations: 19.92 kB / 0.5016 GB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1133, allocations: 7.984 kB / 0.5016 GB, free: 7.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.1137, allocations: 339.1 kB / 0.5019 GB, free: 7.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1137, allocations: 0 / 0.5019 GB, free: 7.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000332/0.114, allocations: 71.86 kB / 0.502 GB, free: 7.484 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: 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,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * 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.002247/0.1162, allocations: 1.137 MB / 0.5031 GB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.1166, allocations: 151.8 kB / 0.5033 GB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1166, allocations: 0.5 kB / 0.5033 GB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1168, allocations: 67.97 kB / 0.5033 GB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1172, allocations: 85.78 kB / 0.5034 GB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.1212, allocations: 3.107 MB / 0.5064 GB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1216, allocations: 0.7792 MB / 0.5072 GB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1217, allocations: 46.94 kB / 0.5072 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.1219, allocations: 99.41 kB / 0.5073 GB, free: 2 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1219, allocations: 0 / 0.5073 GB, free: 2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1477, allocations: 8.027 MB / 0.5152 GB, free: 10.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.224, allocations: 3.75 kB / 0.5152 GB, free: 10.12 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.864769832987804] Failed to read output from testmodel.py, exit status != 0: 8.398753057001159 8.41343323 8.305789755 Calling exit ...