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.001593/0.001593, allocations: 120 kB / 17.17 MB, free: 5.977 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.001869/0.001869, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06173/0.06173, allocations: 11.34 MB / 320.9 MB, free: 14.13 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.001844/0.001844, allocations: 66.11 kB / 446.5 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.09113, allocations: 56.01 MB / 0.4908 GB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002626/0.09376, allocations: 2.041 MB / 0.4928 GB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.09542, allocations: 1.417 MB / 0.4941 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.09552, allocations: 3.938 kB / 0.4941 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.09629, allocations: 295.1 kB / 0.4944 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.09681, allocations: 262 kB / 0.4947 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.09738, allocations: 243.4 kB / 0.4949 GB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.09779, allocations: 367 kB / 0.4953 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.09791, allocations: 37 kB / 0.4953 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.0981, allocations: 155.4 kB / 0.4954 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.09829, allocations: 163.3 kB / 0.4956 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.09832, allocations: 20 kB / 0.4956 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.09853, allocations: 115.9 kB / 0.4957 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.09863, allocations: 83.73 kB / 0.4958 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.09876, allocations: 131.2 kB / 0.4959 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.09921, allocations: 390.3 kB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.09922, allocations: 4 kB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09922, allocations: 4 kB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.09923, allocations: 0 / 0.4963 GB, free: 13.75 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.001013/0.1002, allocations: 0.6881 MB / 0.497 GB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1003, allocations: 8.031 kB / 0.497 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.1003, allocations: 4.375 kB / 0.497 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.1003, allocations: 42.75 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.1004, allocations: 36.73 kB / 0.4971 GB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1008, allocations: 350.4 kB / 0.4974 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1009, allocations: 11.94 kB / 0.4974 GB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1009, allocations: 8 kB / 0.4974 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1012, allocations: 154 kB / 0.4976 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1012, allocations: 0 / 0.4976 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1012, allocations: 4 kB / 0.4976 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1012, allocations: 7.984 kB / 0.4976 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.1014, allocations: 71.89 kB / 0.4976 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.1021, allocations: 496.3 kB / 0.4981 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.1025, allocations: 134.6 kB / 0.4982 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1026, allocations: 56.97 kB / 0.4983 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1027, allocations: 4 kB / 0.4983 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1029, allocations: 133.2 kB / 0.4984 GB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1029, allocations: 0 / 0.4984 GB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006141/0.1035, allocations: 293.2 kB / 0.4987 GB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.1036, allocations: 110.8 kB / 0.4988 GB, free: 10.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1041, allocations: 449.5 kB / 0.4992 GB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.1042, allocations: 33.7 kB / 0.4993 GB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1043, allocations: 164.4 kB / 0.4994 GB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1043, allocations: 47.62 kB / 0.4995 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.1044, allocations: 49.7 kB / 0.4995 GB, free: 10.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1046, allocations: 350.8 kB / 0.4999 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1047, allocations: 48.41 kB / 0.4999 GB, free: 9.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1049, allocations: 144.3 kB / 0.5 GB, free: 9.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.1052, allocations: 200.3 kB / 0.5002 GB, free: 9.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1052, allocations: 0 / 0.5002 GB, free: 9.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004139/0.1056, allocations: 233.5 kB / 0.5005 GB, free: 9.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1057, allocations: 9.391 kB / 0.5005 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1057, allocations: 4 kB / 0.5005 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1057, allocations: 4 kB / 0.5005 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1058, allocations: 31.92 kB / 0.5005 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1058, allocations: 3.938 kB / 0.5005 GB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1059, allocations: 27.83 kB / 0.5005 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1059, allocations: 11.98 kB / 0.5005 GB, free: 9.059 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.0002117/0.1061, allocations: 176.4 kB / 0.5007 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.1062, allocations: 35.77 kB / 0.5008 GB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.1063, allocations: 43.23 kB / 0.5008 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1063, allocations: 4 kB / 0.5008 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1063, allocations: 0 / 0.5008 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1063, allocations: 3.938 kB / 0.5008 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1066, allocations: 305.4 kB / 0.5011 GB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1066, allocations: 4 kB / 0.5011 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1066, allocations: 7.984 kB / 0.5011 GB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1066, allocations: 4.125 kB / 0.5011 GB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1066, allocations: 4 kB / 0.5011 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1067, allocations: 4 kB / 0.5011 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1067, allocations: 0 / 0.5011 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.1071, allocations: 274.2 kB / 0.5014 GB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.1072, allocations: 104.9 kB / 0.5015 GB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.1072, allocations: 8 kB / 0.5015 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.1073, allocations: 15.98 kB / 0.5015 GB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1074, allocations: 15.86 kB / 0.5015 GB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1074, allocations: 12 kB / 0.5015 GB, free: 7.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.1078, allocations: 319.1 kB / 0.5018 GB, free: 7.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1078, allocations: 4 kB / 0.5018 GB, free: 7.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1081, allocations: 71.81 kB / 0.5019 GB, free: 7.586 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.002184/0.1103, allocations: 1.139 MB / 0.503 GB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1106, allocations: 143.8 kB / 0.5032 GB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1106, allocations: 0.5 kB / 0.5032 GB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1108, allocations: 73.38 kB / 0.5032 GB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1112, allocations: 76.7 kB / 0.5033 GB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.1149, allocations: 3.027 MB / 0.5063 GB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1153, allocations: 0.7792 MB / 0.507 GB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1154, allocations: 46.94 kB / 0.5071 GB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1156, allocations: 95.41 kB / 0.5071 GB, free: 2.188 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1156, allocations: 0 / 0.5071 GB, free: 2.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.1412, allocations: 7.906 MB / 0.5149 GB, free: 10.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.288, allocations: 7.812 kB / 0.5149 GB, free: 10.44 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.955653512966819] Failed to read output from testmodel.py, exit status != 0: 8.466225929034408 8.490152923 8.386618863 Calling exit ...