Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.004693/0.004693, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.00133/0.00133, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.318/1.318, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",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.001751/0.001751, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2471, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002348/0.2495, allocations: 1.534 MB / 398.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2511, allocations: 0.9069 MB / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.2512, allocations: 1.031 kB / 399.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.466e-05/0.2513, allocations: 8.75 kB / 399.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.2513, allocations: 22.55 kB / 399.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.2516, allocations: 53.2 kB / 399.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.2517, allocations: 140.3 kB / 399.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.2518, allocations: 12 kB / 399.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/0.2523, allocations: 388.9 kB / 400.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.2524, allocations: 69.62 kB / 400.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.2524, allocations: 14.44 kB / 400.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.2525, allocations: 10.31 kB / 400.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.2525, allocations: 69.97 kB / 400.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.2526, allocations: 111.3 kB / 400.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.253, allocations: 359.2 kB / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.253, allocations: 0 / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.253, allocations: 1.375 kB / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.253, allocations: 0 / 400.8 MB, free: 6.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005713/0.2536, allocations: 0.6535 MB / 401.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2536, allocations: 13.58 kB / 401.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.2536, allocations: 9.75 kB / 401.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.2537, allocations: 36.34 kB / 401.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.2537, allocations: 39.53 kB / 401.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2539, allocations: 217.9 kB / 401.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2539, allocations: 9.188 kB / 401.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.254, allocations: 7.625 kB / 401.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.2542, allocations: 125.4 kB / 401.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2542, allocations: 1.438 kB / 401.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2543, allocations: 3.547 kB / 401.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2543, allocations: 5.469 kB / 401.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.2544, allocations: 59 kB / 402 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.255, allocations: 425.4 kB / 402.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2551, allocations: 72.59 kB / 402.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2552, allocations: 62.31 kB / 402.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.2552, allocations: 5.531 kB / 402.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.2555, allocations: 195.8 kB / 402.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2555, allocations: 0 / 402.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007019/0.2562, allocations: 464.6 kB / 403.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2563, allocations: 170.4 kB / 403.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.2568, allocations: 0.5146 MB / 403.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2569, allocations: 33.36 kB / 403.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.2569, allocations: 106.4 kB / 404 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.2569, allocations: 25.97 kB / 404 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.257, allocations: 79.33 kB / 404.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.2571, allocations: 330.1 kB / 404.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2572, allocations: 53.14 kB / 404.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2573, allocations: 76.77 kB / 404.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2575, allocations: 343.1 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2575, allocations: 0.9688 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004504/0.258, allocations: 370 kB / 405.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.258, allocations: 126.9 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.258, allocations: 1.25 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2581, allocations: 1.906 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.882e-05/0.2581, allocations: 1.125 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2581, allocations: 1.125 kB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2582, allocations: 14.09 kB / 405.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.2583, allocations: 46.41 kB / 405.4 MB, free: 3.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002698/0.2585, allocations: 372.3 kB / 405.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.2586, allocations: 39.33 kB / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.2587, allocations: 65.94 kB / 405.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2587, allocations: 1.062 kB / 405.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2587, allocations: 0 / 405.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2587, allocations: 0 / 405.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.2595, allocations: 0.7884 MB / 406.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2595, allocations: 0.7969 kB / 406.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-06/0.2595, allocations: 5.531 kB / 406.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2595, allocations: 0 / 406.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2595, allocations: 11.64 kB / 406.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2595, allocations: 4.734 kB / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2595, allocations: 1.344 kB / 406.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.2601, allocations: 0.5205 MB / 407.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.2604, allocations: 200.8 kB / 407.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.2604, allocations: 12.55 kB / 407.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2606, allocations: 22.33 kB / 407.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.2607, allocations: 23.78 kB / 407.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.2607, allocations: 51.02 kB / 407.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003983/0.2611, allocations: 382.8 kB / 407.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2611, allocations: 1.375 kB / 407.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.2614, allocations: 41.25 kB / 407.9 MB, free: 1.809 MB / 318.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0006942/0.2621, allocations: 1.079 MB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.2625, allocations: 374.9 kB / 409.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2625, allocations: 5.5 kB / 409.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.2627, allocations: 299.4 kB / 409.7 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.2633, allocations: 128.2 kB / 409.8 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.2667, allocations: 2.747 MB / 412.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.2672, allocations: 0.8078 MB / 413.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.2673, allocations: 13.88 kB / 413.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.2673, allocations: 29.91 kB / 413.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2673, allocations: 0 / 413.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2937, allocations: 5.965 MB / 419.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.77, allocations: 18.77 kB / 419.4 MB, free: 10.73 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.963191598013509] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 10.922670416999608 10.93653485 10.680514563 Calling exit ...