Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.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.001264/0.001264, allocations: 108.8 kB / 21.22 MB, free: 0.7305 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.001293/0.001293, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.372/1.372, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 51.92 kB / 371.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2478, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002761/0.2505, allocations: 1.544 MB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2523, allocations: 0.8537 MB / 425.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.2524, allocations: 4 kB / 425.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.2525, allocations: 15.86 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.2526, allocations: 15.86 kB / 425.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.2528, allocations: 51.89 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.2531, allocations: 143.7 kB / 426 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.2532, allocations: 12 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.2536, allocations: 387.2 kB / 426.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2538, allocations: 67.77 kB / 426.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.2538, allocations: 11.94 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.2538, allocations: 12 kB / 426.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.2539, allocations: 67.69 kB / 426.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2541, allocations: 111.2 kB / 426.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.2544, allocations: 363.3 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2544, allocations: 3.984 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2544, allocations: 0 / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.2545, allocations: 0 / 427 MB, free: 10.96 MB / 334.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.0007592/0.2552, allocations: 0.659 MB / 427.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2553, allocations: 12.02 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.2553, allocations: 4.188 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.2553, allocations: 38.75 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.2554, allocations: 40.7 kB / 427.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2556, allocations: 216.9 kB / 428 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2557, allocations: 4.375 kB / 428 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.2557, allocations: 12.38 kB / 428 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.256, allocations: 128.5 kB / 428.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.256, allocations: 0 / 428.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.256, allocations: 4 kB / 428.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.256, allocations: 0 / 428.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.2562, allocations: 55.97 kB / 428.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.2568, allocations: 435.5 kB / 428.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.257, allocations: 78.42 kB / 428.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2571, allocations: 56.89 kB / 428.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.2571, allocations: 3.984 kB / 428.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.2575, allocations: 202.7 kB / 429 MB, free: 8.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2575, allocations: 0 / 429 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007824/0.2582, allocations: 468.1 kB / 429.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.2583, allocations: 162.2 kB / 429.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.259, allocations: 0.513 MB / 430.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.259, allocations: 33.7 kB / 430.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.2591, allocations: 97.12 kB / 430.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.2591, allocations: 31.8 kB / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2592, allocations: 73.56 kB / 430.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2594, allocations: 330.8 kB / 430.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2595, allocations: 59.97 kB / 430.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2597, allocations: 76.86 kB / 430.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.26, allocations: 339.5 kB / 431.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.26, allocations: 7.922 kB / 431.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005371/0.2605, allocations: 371.1 kB / 431.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2606, allocations: 130.8 kB / 431.6 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2606, allocations: 0 / 431.6 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2607, allocations: 4 kB / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.2607, allocations: 0 / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.2607, allocations: 0 / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2608, allocations: 11.98 kB / 431.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.2609, allocations: 44 kB / 431.7 MB, free: 5.941 MB / 334.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.0003753/0.2613, allocations: 366.3 kB / 432 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.2613, allocations: 39.77 kB / 432.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2614, allocations: 71.08 kB / 432.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2614, allocations: 0 / 432.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2614, allocations: 0 / 432.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2614, allocations: 0 / 432.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2625, allocations: 0.7851 MB / 432.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2625, allocations: 0 / 432.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.2625, allocations: 0 / 432.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2625, allocations: 4 kB / 432.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2625, allocations: 8 kB / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.2625, allocations: 3.938 kB / 432.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2625, allocations: 4 kB / 432.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.2632, allocations: 0.5293 MB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.2636, allocations: 201.4 kB / 433.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.2636, allocations: 12 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2638, allocations: 15.92 kB / 433.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.2639, allocations: 27.91 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.2639, allocations: 39.94 kB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.2644, allocations: 394.9 kB / 434.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2644, allocations: 0 / 434.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000288/0.2647, allocations: 48 kB / 434.2 MB, free: 3.266 MB / 334.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.001017/0.2657, allocations: 1.074 MB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005294/0.2662, allocations: 384.8 kB / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2662, allocations: 0 / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.2665, allocations: 297.7 kB / 435.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2672, allocations: 125.9 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.2708, allocations: 2.75 MB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.2713, allocations: 0.8022 MB / 439.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.2714, allocations: 8.656 kB / 439.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.2714, allocations: 27.42 kB / 439.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2714, allocations: 4 kB / 439.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.2977, allocations: 5.967 MB / 445.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 4.062 kB / 445.6 MB, free: 7.723 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.367986759985797] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 11.24795497499872 11.272113172 11.012634781 Calling exit ...