Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.001827/0.001827, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.002327/0.002327, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3298/0.3298, allocations: 44.23 MB / 327.3 MB, free: 6.691 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002328/0.002328, allocations: 75.83 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2834, allocations: 60.99 MB / 0.5116 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003035/0.2864, allocations: 1.896 MB / 0.5135 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2878, allocations: 0.9743 MB / 0.5144 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.288, allocations: 5.688 kB / 0.5144 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.2886, allocations: 182.2 kB / 0.5146 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.289, allocations: 133.7 kB / 0.5147 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.2894, allocations: 161.1 kB / 0.5149 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.2897, allocations: 276.1 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2898, allocations: 30.45 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.29, allocations: 115.5 kB / 0.5153 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2902, allocations: 113.5 kB / 0.5154 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.2902, allocations: 20.53 kB / 0.5154 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2904, allocations: 69.36 kB / 0.5155 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.2904, allocations: 61.45 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.2905, allocations: 109.8 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.2909, allocations: 276.3 kB / 0.5159 GB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2909, allocations: 1.375 kB / 0.5159 GB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2909, allocations: 0 / 0.5159 GB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2909, allocations: 0 / 0.5159 GB, free: 9.902 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008837/0.2918, allocations: 0.6712 MB / 0.5166 GB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2918, allocations: 13.48 kB / 0.5166 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.275e-05/0.2918, allocations: 5.547 kB / 0.5166 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.2919, allocations: 41.62 kB / 0.5166 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.292, allocations: 27.92 kB / 0.5167 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2923, allocations: 276.1 kB / 0.5169 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.2923, allocations: 102.8 kB / 0.517 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2924, allocations: 16.38 kB / 0.517 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.2926, allocations: 156 kB / 0.5172 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2927, allocations: 3.938 kB / 0.5172 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2927, allocations: 4.125 kB / 0.5172 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2927, allocations: 2.562 kB / 0.5172 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.2929, allocations: 96.52 kB / 0.5173 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.2936, allocations: 0.6072 MB / 0.5179 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2939, allocations: 160 kB / 0.518 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.294, allocations: 77.62 kB / 0.5181 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.294, allocations: 1.25 kB / 0.5181 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.2944, allocations: 434.4 kB / 0.5185 GB, free: 7.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.2944, allocations: 3.938 kB / 0.5185 GB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007714/0.2951, allocations: 452.5 kB / 0.519 GB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.2952, allocations: 217.6 kB / 0.5192 GB, free: 6.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2954, allocations: 320.9 kB / 0.5195 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2955, allocations: 33.7 kB / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.2955, allocations: 136.6 kB / 0.5196 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.2956, allocations: 51.62 kB / 0.5197 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.2956, allocations: 49.7 kB / 0.5197 GB, free: 6.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.2957, allocations: 338.8 kB / 0.52 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2958, allocations: 51.97 kB / 0.5201 GB, free: 5.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.296, allocations: 150.2 kB / 0.5202 GB, free: 5.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2962, allocations: 351 kB / 0.5206 GB, free: 5.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2962, allocations: 4 kB / 0.5206 GB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000424/0.2967, allocations: 362.5 kB / 0.5209 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.2967, allocations: 89.09 kB / 0.521 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2967, allocations: 4 kB / 0.521 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2967, allocations: 4 kB / 0.521 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2968, allocations: 31.92 kB / 0.521 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2968, allocations: 4 kB / 0.5211 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.297, allocations: 28.09 kB / 0.5211 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.297, allocations: 12 kB / 0.5211 GB, free: 4.723 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0001627/0.2972, allocations: 261.5 kB / 0.5213 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2972, allocations: 35.8 kB / 0.5214 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.2973, allocations: 25.7 kB / 0.5214 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2973, allocations: 0 / 0.5214 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2973, allocations: 4 kB / 0.5214 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2973, allocations: 4 kB / 0.5214 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2975, allocations: 289.4 kB / 0.5217 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2975, allocations: 7.984 kB / 0.5217 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.2975, allocations: 4 kB / 0.5217 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2975, allocations: 3.938 kB / 0.5217 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2975, allocations: 12 kB / 0.5217 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2975, allocations: 0 / 0.5217 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2975, allocations: 4 kB / 0.5217 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.298, allocations: 447.6 kB / 0.5221 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2981, allocations: 100.9 kB / 0.5222 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.2981, allocations: 12 kB / 0.5222 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2982, allocations: 15.98 kB / 0.5223 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2983, allocations: 23.97 kB / 0.5223 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.2983, allocations: 15.94 kB / 0.5223 GB, free: 3.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.2985, allocations: 236.4 kB / 0.5225 GB, free: 3.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2985, allocations: 0 / 0.5225 GB, free: 3.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.2988, allocations: 71.83 kB / 0.5226 GB, free: 3.039 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.002094/0.3009, allocations: 1.299 MB / 0.5239 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.3014, allocations: 358 kB / 0.5242 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3014, allocations: 0 / 0.5242 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.3016, allocations: 270.5 kB / 0.5245 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.302, allocations: 52.34 kB / 0.5245 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.3059, allocations: 2.836 MB / 0.5273 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.3064, allocations: 0.7557 MB / 0.528 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3065, allocations: 29.52 kB / 0.528 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3066, allocations: 67.36 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3066, allocations: 0 / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/0.3463, allocations: 6.218 MB / 0.5342 GB, free: 6.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.107/9.453, allocations: 7.844 kB / 0.5342 GB, free: 6.812 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.780226526025217] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 9.672507489973214 9.694857208 9.400088386 Calling exit ...