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.001304/0.001304, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001532/0.001532, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.797 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.06197/0.06197, allocations: 11.34 MB / 323.8 MB, free: 8.035 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.002085/0.002085, allocations: 67.89 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.102, allocations: 56.07 MB / 0.4951 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003301/0.1053, allocations: 1.979 MB / 0.4971 GB, free: 184 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1075, allocations: 1.337 MB / 0.4984 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1076, allocations: 4 kB / 0.4984 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.1084, allocations: 305.6 kB / 0.4987 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.1089, allocations: 259.1 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.1095, allocations: 262.4 kB / 0.4992 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.1099, allocations: 375 kB / 0.4995 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1101, allocations: 29.2 kB / 0.4996 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1103, allocations: 155.4 kB / 0.4997 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1105, allocations: 155.4 kB / 0.4999 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1105, allocations: 20 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.1107, allocations: 123.8 kB / 0.5 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1108, allocations: 83.75 kB / 0.5001 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.111, allocations: 103.3 kB / 0.5002 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.1114, allocations: 386.4 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1114, allocations: 4 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1114, allocations: 0 / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1114, allocations: 4 kB / 0.5005 GB, free: 12.61 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.001041/0.1125, allocations: 0.609 MB / 0.5011 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1125, allocations: 8.031 kB / 0.5012 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.1126, allocations: 42.73 kB / 0.5012 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1126, allocations: 32.75 kB / 0.5012 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.1131, allocations: 284.7 kB / 0.5015 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1131, allocations: 20.11 kB / 0.5015 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1131, allocations: 12 kB / 0.5015 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.1134, allocations: 123.8 kB / 0.5016 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1134, allocations: 3.938 kB / 0.5016 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.1135, allocations: 11.98 kB / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1135, allocations: 0 / 0.5017 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1136, allocations: 79.83 kB / 0.5017 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.1144, allocations: 435.5 kB / 0.5021 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.1148, allocations: 146.7 kB / 0.5023 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1149, allocations: 56.92 kB / 0.5023 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1149, allocations: 0 / 0.5023 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.1152, allocations: 139.3 kB / 0.5025 GB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.1152, allocations: 0 / 0.5025 GB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006258/0.1158, allocations: 303.1 kB / 0.5028 GB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1159, allocations: 59.39 kB / 0.5028 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.1164, allocations: 453.6 kB / 0.5033 GB, free: 9.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1164, allocations: 33.7 kB / 0.5033 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1166, allocations: 164.4 kB / 0.5034 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1166, allocations: 43.69 kB / 0.5035 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.1167, allocations: 41.91 kB / 0.5035 GB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1169, allocations: 350.7 kB / 0.5039 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.117, allocations: 56.06 kB / 0.5039 GB, free: 8.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1172, allocations: 190.1 kB / 0.5041 GB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.1176, allocations: 204.4 kB / 0.5043 GB, free: 8.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1176, allocations: 0 / 0.5043 GB, free: 8.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000419/0.118, allocations: 233.2 kB / 0.5045 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.118, allocations: 7.984 kB / 0.5045 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1181, allocations: 4 kB / 0.5045 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1181, allocations: 4 kB / 0.5045 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1182, allocations: 35.92 kB / 0.5046 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1182, allocations: 4.188 kB / 0.5046 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1183, allocations: 27.89 kB / 0.5046 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1183, allocations: 11.98 kB / 0.5046 GB, free: 8.168 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.0002299/0.1186, allocations: 184.3 kB / 0.5048 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1186, allocations: 35.77 kB / 0.5048 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.1191, allocations: 264.7 kB / 0.5051 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1191, allocations: 8 kB / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1191, allocations: 128 / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1191, allocations: 0 / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.1194, allocations: 256.5 kB / 0.5053 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1194, allocations: 4 kB / 0.5053 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1195, allocations: 15.94 kB / 0.5053 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1195, allocations: 0 / 0.5053 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1195, allocations: 11.92 kB / 0.5053 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1195, allocations: 0 / 0.5053 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1195, allocations: 0 / 0.5053 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.12, allocations: 290.6 kB / 0.5056 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.12, allocations: 31.8 kB / 0.5057 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.1201, allocations: 8 kB / 0.5057 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.1202, allocations: 7.984 kB / 0.5057 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1202, allocations: 11.98 kB / 0.5057 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.1202, allocations: 11.98 kB / 0.5057 GB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.1206, allocations: 327.1 kB / 0.506 GB, free: 6.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1206, allocations: 0 / 0.506 GB, free: 6.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1209, allocations: 71.81 kB / 0.5061 GB, free: 6.59 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.002313/0.1232, allocations: 1.193 MB / 0.5072 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.1236, allocations: 159.8 kB / 0.5074 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1236, allocations: 0 / 0.5074 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.1238, allocations: 79.89 kB / 0.5075 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1242, allocations: 81.67 kB / 0.5075 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.128, allocations: 3.049 MB / 0.5105 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.1282, allocations: 174.1 kB / 0.5107 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1283, allocations: 43.2 kB / 0.5107 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1284, allocations: 99.39 kB / 0.5108 GB, free: 1.734 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1284, allocations: 4 kB / 0.5108 GB, free: 1.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/0.354, allocations: 8.634 MB / 0.5193 GB, free: 22.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.13, allocations: 5.406 kB / 0.5193 GB, free: 22.04 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 sys.exit(0), Time elapsed: 13.837455763015896] Failed to read output from testmodel.py, exit status != 0: 11.28836144786328 11.302192634 11.188228153 Calling exit ...