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.001362/0.001362, allocations: 113 kB / 18.94 MB, free: 2.934 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.001572/0.001572, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.02 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.06566/0.06566, allocations: 11.34 MB / 323.8 MB, free: 8.277 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",fmuType="me",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.002256/0.002256, allocations: 63.91 kB / 451 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1056, allocations: 56.07 MB / 0.4952 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003931/0.1096, allocations: 2.052 MB / 0.4972 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1122, allocations: 1.435 MB / 0.4986 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1124, allocations: 3.938 kB / 0.4986 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.1133, allocations: 302 kB / 0.4989 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007363/0.114, allocations: 259.1 kB / 0.4992 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.1149, allocations: 262.7 kB / 0.4994 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.1155, allocations: 375 kB / 0.4998 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1156, allocations: 33.19 kB / 0.4998 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.1159, allocations: 151.4 kB / 0.5 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1162, allocations: 167.3 kB / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1162, allocations: 20 kB / 0.5001 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.1165, allocations: 127.8 kB / 0.5003 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1167, allocations: 79.75 kB / 0.5003 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1168, allocations: 135.1 kB / 0.5005 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1174, allocations: 390.4 kB / 0.5008 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1174, allocations: 0 / 0.5008 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1174, allocations: 7.938 kB / 0.5008 GB, free: 12.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1174, allocations: 0 / 0.5008 GB, free: 12.64 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.001083/0.1185, allocations: 0.609 MB / 0.5014 GB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1185, allocations: 12.03 kB / 0.5014 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.1186, allocations: 42.73 kB / 0.5015 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.1186, allocations: 32.75 kB / 0.5015 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1191, allocations: 284.9 kB / 0.5018 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1191, allocations: 19.94 kB / 0.5018 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1191, allocations: 12 kB / 0.5018 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.1195, allocations: 150.4 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1195, allocations: 0 / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1195, allocations: 3.984 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1195, allocations: 4 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1197, allocations: 75.84 kB / 0.502 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.1205, allocations: 455.5 kB / 0.5025 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.121, allocations: 146.7 kB / 0.5026 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1211, allocations: 56.92 kB / 0.5027 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1211, allocations: 0 / 0.5027 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.1214, allocations: 137.9 kB / 0.5028 GB, free: 10.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1214, allocations: 0 / 0.5028 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007074/0.1221, allocations: 281.3 kB / 0.5031 GB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.1222, allocations: 114.8 kB / 0.5032 GB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.1227, allocations: 445.6 kB / 0.5036 GB, free: 9.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1228, allocations: 33.69 kB / 0.5036 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1229, allocations: 168.4 kB / 0.5038 GB, free: 9.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.123, allocations: 47.67 kB / 0.5038 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/0.1231, allocations: 49.7 kB / 0.5039 GB, free: 9.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1232, allocations: 346.7 kB / 0.5042 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1234, allocations: 52.41 kB / 0.5043 GB, free: 8.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1236, allocations: 148.3 kB / 0.5044 GB, free: 8.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.1239, allocations: 192.4 kB / 0.5046 GB, free: 8.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.124, allocations: 4 kB / 0.5046 GB, free: 8.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004565/0.1244, allocations: 233.2 kB / 0.5048 GB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1244, allocations: 8.25 kB / 0.5048 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1244, allocations: 4 kB / 0.5048 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1245, allocations: 4.047 kB / 0.5048 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1246, allocations: 35.91 kB / 0.5049 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.1246, allocations: 7.984 kB / 0.5049 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1247, allocations: 23.83 kB / 0.5049 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.1248, allocations: 15.94 kB / 0.5049 GB, free: 8.148 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.0002408/0.125, allocations: 188.3 kB / 0.5051 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.1251, allocations: 35.77 kB / 0.5051 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.1256, allocations: 247.1 kB / 0.5054 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1256, allocations: 4 kB / 0.5054 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1256, allocations: 0 / 0.5054 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1256, allocations: 0 / 0.5054 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.1259, allocations: 280.4 kB / 0.5056 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1259, allocations: 0 / 0.5056 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.1259, allocations: 19.92 kB / 0.5057 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1259, allocations: 128 / 0.5057 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.126, allocations: 12 kB / 0.5057 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.126, allocations: 0 / 0.5057 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.126, allocations: 0 / 0.5057 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.1264, allocations: 264.7 kB / 0.5059 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1265, allocations: 35.73 kB / 0.506 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.1265, allocations: 8 kB / 0.506 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1266, allocations: 11.98 kB / 0.506 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1267, allocations: 15.98 kB / 0.506 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1267, allocations: 4 kB / 0.506 GB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.1271, allocations: 331.1 kB / 0.5063 GB, free: 6.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1271, allocations: 0 / 0.5063 GB, free: 6.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.1275, allocations: 71.75 kB / 0.5064 GB, free: 6.586 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.002396/0.1299, allocations: 1.128 MB / 0.5075 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.1303, allocations: 151.8 kB / 0.5076 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1303, allocations: 0.5 kB / 0.5076 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1304, allocations: 67.91 kB / 0.5077 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1309, allocations: 85.31 kB / 0.5078 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.1351, allocations: 3.027 MB / 0.5107 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.1356, allocations: 0.7792 MB / 0.5115 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.1357, allocations: 38.95 kB / 0.5115 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.1359, allocations: 103.4 kB / 0.5116 GB, free: 1.188 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1359, allocations: 0 / 0.5116 GB, free: 1.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.4043, allocations: 8.023 MB / 0.5195 GB, free: 21.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 12.03 kB / 0.5195 GB, free: 21.29 MB / 382.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.494007462868467] Failed to read output from testmodel.py, exit status != 0: 11.864730020053685 11.878316671 11.758195206 Calling exit ...