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.0008168/0.0008168, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001018/0.001018, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03562/0.03562, allocations: 8.599 MB / 267.8 MB, free: 5.105 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.27e-05, allocations: 2.281 kB / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002751/0.002774, allocations: 1.964 MB / 397 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.004368, allocations: 1.344 MB / 398.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004483, allocations: 7.938 kB / 398.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.005215, allocations: 306.8 kB / 398.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.005628, allocations: 259 kB / 398.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.006099, allocations: 267.1 kB / 399.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.006406, allocations: 375 kB / 399.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.006533, allocations: 40.77 kB / 399.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.006721, allocations: 203.4 kB / 399.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.006866, allocations: 135.6 kB / 399.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.006892, allocations: 20 kB / 400 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.007079, allocations: 119.8 kB / 400.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.007165, allocations: 87.69 kB / 400.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.007239, allocations: 71.77 kB / 400.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.007634, allocations: 402.7 kB / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.007638, allocations: 0 / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.00764, allocations: 4 kB / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.007645, allocations: 0 / 400.6 MB, free: 13.09 MB / 378.7 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.0008009/0.008446, allocations: 0.5974 MB / 401.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.008489, allocations: 8.031 kB / 401.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.008527, allocations: 42.73 kB / 401.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.008589, allocations: 40.64 kB / 401.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.008935, allocations: 292 kB / 401.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.008954, allocations: 8.562 kB / 401.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.008975, allocations: 16.38 kB / 401.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.009209, allocations: 129.5 kB / 401.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.009219, allocations: 3.938 kB / 401.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.009235, allocations: 8 kB / 401.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.009241, allocations: 3.938 kB / 401.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.009371, allocations: 75.81 kB / 401.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.009979, allocations: 423.6 kB / 402.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.01029, allocations: 150.5 kB / 402.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.01038, allocations: 56.06 kB / 402.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.0104, allocations: 4 kB / 402.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.01062, allocations: 143.2 kB / 402.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.01062, allocations: 0 / 402.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004485/0.01107, allocations: 299.8 kB / 402.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.01111, allocations: 59.41 kB / 402.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.01177, allocations: 445.6 kB / 403.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01179, allocations: 33.7 kB / 403.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.0119, allocations: 168.4 kB / 403.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.01194, allocations: 47.67 kB / 403.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.012, allocations: 49.62 kB / 403.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.01211, allocations: 346.8 kB / 404 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.0122, allocations: 48.2 kB / 404.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01235, allocations: 194.1 kB / 404.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01258, allocations: 196.4 kB / 404.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.01258, allocations: 3.938 kB / 404.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002602/0.01284, allocations: 237.2 kB / 404.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01286, allocations: 11.98 kB / 404.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01287, allocations: 0 / 404.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01288, allocations: 4 kB / 404.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.01296, allocations: 36.05 kB / 404.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01296, allocations: 4 kB / 404.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.01304, allocations: 28.09 kB / 404.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01305, allocations: 15.98 kB / 404.8 MB, free: 8.645 MB / 378.7 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.0001866/0.01324, allocations: 188.2 kB / 405 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.01327, allocations: 35.8 kB / 405 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.0136, allocations: 256.8 kB / 405.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0136, allocations: 4 kB / 405.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.0136, allocations: 7.938 kB / 405.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01361, allocations: 0 / 405.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.01381, allocations: 260.5 kB / 405.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01381, allocations: 0 / 405.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.01384, allocations: 11.94 kB / 405.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01385, allocations: 0 / 405.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.01386, allocations: 11.98 kB / 405.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01386, allocations: 0 / 405.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01387, allocations: 0 / 405.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.01416, allocations: 286.1 kB / 405.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.01419, allocations: 35.8 kB / 405.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.01422, allocations: 4 kB / 405.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.01427, allocations: 11.98 kB / 405.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01432, allocations: 11.98 kB / 405.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.01434, allocations: 11.98 kB / 405.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.01458, allocations: 331.1 kB / 406.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01458, allocations: 0 / 406.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01483, allocations: 75.81 kB / 406.3 MB, free: 7.062 MB / 378.7 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.001193/0.01602, allocations: 1.194 MB / 407.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01628, allocations: 159.8 kB / 407.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01629, allocations: 3.938 kB / 407.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.01638, allocations: 71.97 kB / 407.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01666, allocations: 82.03 kB / 407.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.01966, allocations: 3.078 MB / 410.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01977, allocations: 174.2 kB / 411 MB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.01988, allocations: 54.86 kB / 411.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.01998, allocations: 92.47 kB / 411.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01998, allocations: 0 / 411.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.04625, allocations: 8.764 MB / 419.9 MB, free: 9.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.083, allocations: 6.281 kB / 420 MB, free: 9.492 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.943543021567166] Failed to read output from testmodel.py, exit status != 0: 7.186849115416408 7.199894578 7.19029433 Calling exit ...