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.001488/0.001488, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002669/0.002669, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.06269/0.06269, allocations: 11.34 MB / 324.6 MB, free: 8.195 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.001919/0.001919, allocations: 63.91 kB / 451.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 56.07 MB / 0.496 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003399/0.1064, allocations: 2.049 MB / 0.498 GB, free: 224 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1087, allocations: 1.43 MB / 0.4994 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1088, allocations: 3.938 kB / 0.4994 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.1096, allocations: 311.1 kB / 0.4997 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.1102, allocations: 251.1 kB / 0.4999 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.1107, allocations: 270.2 kB / 0.5002 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.1112, allocations: 371 kB / 0.5005 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1113, allocations: 33.2 kB / 0.5006 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1115, allocations: 151.4 kB / 0.5007 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1117, allocations: 163.3 kB / 0.5009 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.1117, allocations: 24 kB / 0.5009 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1119, allocations: 127.8 kB / 0.501 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1121, allocations: 87.73 kB / 0.5011 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1122, allocations: 131.1 kB / 0.5012 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1126, allocations: 390.4 kB / 0.5016 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1126, allocations: 0 / 0.5016 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1126, allocations: 0 / 0.5016 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1126, allocations: 0 / 0.5016 GB, free: 12.51 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.0009693/0.1136, allocations: 0.6128 MB / 0.5022 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1137, allocations: 12.03 kB / 0.5022 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.1137, allocations: 384 / 0.5022 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1137, allocations: 46.73 kB / 0.5023 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.1138, allocations: 32.75 kB / 0.5023 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.1142, allocations: 288.5 kB / 0.5026 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1142, allocations: 11.98 kB / 0.5026 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1142, allocations: 8 kB / 0.5026 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1146, allocations: 159.1 kB / 0.5027 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1146, allocations: 0 / 0.5027 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1146, allocations: 4 kB / 0.5027 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1146, allocations: 4 kB / 0.5027 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1148, allocations: 75.83 kB / 0.5028 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.1154, allocations: 459.4 kB / 0.5033 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.1158, allocations: 138.8 kB / 0.5034 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.116, allocations: 52.83 kB / 0.5034 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.116, allocations: 4 kB / 0.5034 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.1163, allocations: 139.3 kB / 0.5036 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.1163, allocations: 0 / 0.5036 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006292/0.1169, allocations: 283.6 kB / 0.5038 GB, free: 10.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.117, allocations: 110.8 kB / 0.504 GB, free: 9.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.1175, allocations: 449.5 kB / 0.5044 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1175, allocations: 37.7 kB / 0.5044 GB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1176, allocations: 164.4 kB / 0.5046 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1177, allocations: 47.67 kB / 0.5046 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.1177, allocations: 53.69 kB / 0.5047 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1179, allocations: 342.8 kB / 0.505 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.118, allocations: 48.41 kB / 0.505 GB, free: 8.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1182, allocations: 156.2 kB / 0.5052 GB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1185, allocations: 192.4 kB / 0.5054 GB, free: 8.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1185, allocations: 0 / 0.5054 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003991/0.1189, allocations: 237.2 kB / 0.5056 GB, free: 8.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1189, allocations: 4 kB / 0.5056 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.119, allocations: 4 kB / 0.5056 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.119, allocations: 7.938 kB / 0.5056 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1191, allocations: 28.23 kB / 0.5056 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1191, allocations: 7.938 kB / 0.5057 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1192, allocations: 31.81 kB / 0.5057 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1192, allocations: 8 kB / 0.5057 GB, free: 8.02 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.0002185/0.1194, allocations: 184.4 kB / 0.5059 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1195, allocations: 39.75 kB / 0.5059 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.12, allocations: 244.8 kB / 0.5061 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.12, allocations: 4 kB / 0.5061 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.12, allocations: 0 / 0.5061 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.12, allocations: 3.938 kB / 0.5061 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1203, allocations: 280.5 kB / 0.5064 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1203, allocations: 0 / 0.5064 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1203, allocations: 7.938 kB / 0.5064 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1203, allocations: 7.938 kB / 0.5064 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1203, allocations: 0 / 0.5064 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1203, allocations: 12.11 kB / 0.5064 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1203, allocations: 4 kB / 0.5064 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.1208, allocations: 271.3 kB / 0.5067 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.1208, allocations: 23.81 kB / 0.5067 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.1209, allocations: 8 kB / 0.5067 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.1209, allocations: 11.98 kB / 0.5067 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.121, allocations: 15.91 kB / 0.5068 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.121, allocations: 12 kB / 0.5068 GB, free: 6.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.1214, allocations: 323.1 kB / 0.5071 GB, free: 6.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1214, allocations: 0 / 0.5071 GB, free: 6.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1217, allocations: 75.81 kB / 0.5071 GB, free: 6.457 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.002137/0.1238, allocations: 1.13 MB / 0.5083 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.1242, allocations: 147.8 kB / 0.5084 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1242, allocations: 0 / 0.5084 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1243, allocations: 67.91 kB / 0.5085 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1247, allocations: 97.34 kB / 0.5086 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.1284, allocations: 3.023 MB / 0.5115 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1288, allocations: 0.783 MB / 0.5123 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.1289, allocations: 46.92 kB / 0.5123 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1291, allocations: 95.41 kB / 0.5124 GB, free: 1.055 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1291, allocations: 0 / 0.5124 GB, free: 1.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/0.342, allocations: 8.049 MB / 0.5203 GB, free: 21.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.11, allocations: 13.22 kB / 0.5203 GB, free: 21.75 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.684533009072766] Failed to read output from testmodel.py, exit status != 0: 11.320833373931237 11.33535912 11.219848884 Calling exit ...