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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 110.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 245.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1672/0.1672, allocations: 11.19 MB / 308.4 MB, free: 1.789 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001951/0.001951, allocations: 63.89 kB / 426.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 51.97 MB / 478 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.002991/0.2834, allocations: 2.001 MB / 480 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2852, allocations: 1.257 MB / 481.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2853, allocations: 6.75 kB / 481.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007759/0.2861, allocations: 287.2 kB / 481.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.2865, allocations: 208.1 kB / 481.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.2873, allocations: 326.4 kB / 482.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.2876, allocations: 347.3 kB / 482.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2878, allocations: 60.53 kB / 482.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2879, allocations: 143.8 kB / 482.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2881, allocations: 150.9 kB / 482.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.2881, allocations: 18.59 kB / 482.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.2883, allocations: 114.3 kB / 482.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.562e-05/0.2884, allocations: 80.08 kB / 483 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2886, allocations: 128.9 kB / 483.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.289, allocations: 372.6 kB / 483.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.289, allocations: 0 / 483.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.289, allocations: 0 / 483.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.289, allocations: 5.562 kB / 483.5 MB, free: 14.46 MB / 350.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.001111/0.2901, allocations: 0.6739 MB / 484.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2902, allocations: 13.23 kB / 484.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.2902, allocations: 50.14 kB / 484.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.2903, allocations: 36.42 kB / 484.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2907, allocations: 330.4 kB / 484.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2907, allocations: 8.562 kB / 484.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2908, allocations: 16.22 kB / 484.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.2911, allocations: 156.1 kB / 484.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2911, allocations: 0 / 484.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2911, allocations: 9.141 kB / 484.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2911, allocations: 7.156 kB / 484.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2913, allocations: 66.69 kB / 484.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.2919, allocations: 486.1 kB / 485.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2923, allocations: 143.3 kB / 485.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.2924, allocations: 64.05 kB / 485.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2924, allocations: 6.219 kB / 485.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.2927, allocations: 130 kB / 485.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2927, allocations: 1.312 kB / 485.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.000606/0.2933, allocations: 290.4 kB / 485.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2934, allocations: 111.4 kB / 486 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.2938, allocations: 419.6 kB / 486.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2938, allocations: 33.17 kB / 486.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.2939, allocations: 163.7 kB / 486.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2939, allocations: 50.66 kB / 486.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.294, allocations: 44.05 kB / 486.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.2941, allocations: 352.2 kB / 487.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2942, allocations: 48.92 kB / 487.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2943, allocations: 141 kB / 487.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.2946, allocations: 193.2 kB / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2946, allocations: 0 / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003667/0.295, allocations: 234.8 kB / 487.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.295, allocations: 10.72 kB / 487.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.295, allocations: 2.5 kB / 487.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2951, allocations: 7.344 kB / 487.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2952, allocations: 34.59 kB / 487.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2952, allocations: 3.594 kB / 487.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2953, allocations: 20.83 kB / 487.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2953, allocations: 12.34 kB / 487.8 MB, free: 10.98 MB / 350.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.0001735/0.2955, allocations: 184.7 kB / 488 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.2956, allocations: 34.23 kB / 488 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.2956, allocations: 36.09 kB / 488 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2956, allocations: 2.312 kB / 488 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2957, allocations: 3.984 kB / 488 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2957, allocations: 0 / 488 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2959, allocations: 298.9 kB / 488.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2959, allocations: 3.938 kB / 488.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.2959, allocations: 15.02 kB / 488.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2959, allocations: 1.094 kB / 488.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.296, allocations: 10.19 kB / 488.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.296, allocations: 1.25 kB / 488.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.296, allocations: 5.125 kB / 488.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.2964, allocations: 264.6 kB / 488.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.2964, allocations: 110 kB / 488.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.2965, allocations: 2.344 kB / 488.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.2966, allocations: 13.42 kB / 488.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2966, allocations: 13.52 kB / 488.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.2966, allocations: 10.19 kB / 488.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.2969, allocations: 315.8 kB / 489.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2969, allocations: 0 / 489.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.2973, allocations: 68.86 kB / 489.1 MB, free: 9.945 MB / 350.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.001969/0.2992, allocations: 1.129 MB / 490.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.2996, allocations: 153.2 kB / 490.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2996, allocations: 1.375 kB / 490.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2998, allocations: 78.78 kB / 490.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3002, allocations: 80.64 kB / 490.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.3036, allocations: 2.988 MB / 493.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3038, allocations: 0.769 MB / 494.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.304, allocations: 44.75 kB / 494.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3041, allocations: 98.61 kB / 494.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3041, allocations: 3.938 kB / 494.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3342, allocations: 7.633 MB / 0.4903 GB, free: 0.5586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.616, allocations: 7.438 kB / 0.4903 GB, free: 0.5547 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.331808805000037] Failed to read output from testmodel.py, exit status != 0: 8.743009943980724 8.769326103 8.475787487 Calling exit ...