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.001304/0.001304, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001427/0.001427, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.361/1.361, allocations: 207.6 MB / 232.5 MB, free: 11.52 MB / 190.1 MB " [Timeout remaining time 178] 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.00166/0.00166, allocations: 61 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2736, allocations: 49.12 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00275/0.2763, allocations: 1.53 MB / 393.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2784, allocations: 0.8999 MB / 394.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.2785, allocations: 1.188 kB / 394.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2786, allocations: 12.33 kB / 394.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2787, allocations: 23.38 kB / 394.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.2789, allocations: 47.5 kB / 394.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2792, allocations: 136.6 kB / 394.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2793, allocations: 19.28 kB / 394.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.2799, allocations: 389.1 kB / 395.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.28, allocations: 68.02 kB / 395.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.2801, allocations: 10.41 kB / 395.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.2801, allocations: 14.19 kB / 395.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2802, allocations: 70.05 kB / 395.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2803, allocations: 116.2 kB / 395.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.2807, allocations: 355.4 kB / 395.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2808, allocations: 4 kB / 395.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2808, allocations: 1.094 kB / 395.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2808, allocations: 0 / 395.8 MB, free: 6.602 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.000727/0.2815, allocations: 0.7299 MB / 396.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2815, allocations: 9.312 kB / 396.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.422e-05/0.2815, allocations: 5.641 kB / 396.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.2816, allocations: 42.31 kB / 396.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.2816, allocations: 38.86 kB / 396.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2819, allocations: 276.8 kB / 396.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2819, allocations: 4.781 kB / 396.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.282, allocations: 8.25 kB / 396.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.2823, allocations: 124.2 kB / 397 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2823, allocations: 0 / 397 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2823, allocations: 8.594 kB / 397 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2823, allocations: 0 / 397 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.2825, allocations: 62.19 kB / 397.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.2831, allocations: 460.2 kB / 397.5 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.2833, allocations: 74.84 kB / 397.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.2834, allocations: 61.69 kB / 397.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2834, allocations: 0 / 397.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.2837, allocations: 209.2 kB / 397.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2837, allocations: 0 / 397.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007734/0.2845, allocations: 464.9 kB / 398.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.2846, allocations: 166.8 kB / 398.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.2852, allocations: 0.5188 MB / 399 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2853, allocations: 30.58 kB / 399 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.2853, allocations: 104.1 kB / 399.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.2853, allocations: 31.78 kB / 399.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2855, allocations: 78.44 kB / 399.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.2855, allocations: 325.5 kB / 399.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2857, allocations: 57.94 kB / 399.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2858, allocations: 73.36 kB / 399.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.286, allocations: 344.4 kB / 400 MB, free: 3.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.286, allocations: 0 / 400 MB, free: 3.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004587/0.2865, allocations: 375.2 kB / 400.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.2866, allocations: 123.1 kB / 400.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2866, allocations: 0.75 kB / 400.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2866, allocations: 1.406 kB / 400.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.836e-05/0.2866, allocations: 5.344 kB / 400.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2866, allocations: 2.047 kB / 400.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2867, allocations: 17.98 kB / 400.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.2868, allocations: 45.61 kB / 400.6 MB, free: 2.957 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.0002681/0.2871, allocations: 373.8 kB / 400.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.2871, allocations: 43.58 kB / 401 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/0.2872, allocations: 65.41 kB / 401.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2872, allocations: 1.547 kB / 401.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2872, allocations: 1.547 kB / 401.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2872, allocations: 3.938 kB / 401.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.2881, allocations: 0.8074 MB / 401.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2881, allocations: 0 / 401.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-06/0.2881, allocations: 0.6094 kB / 401.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2881, allocations: 5.312 kB / 401.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2881, allocations: 14.67 kB / 401.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2881, allocations: 5.875 kB / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2881, allocations: 0 / 401.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.2887, allocations: 0.5211 MB / 402.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.2889, allocations: 244.6 kB / 402.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.289, allocations: 11.94 kB / 402.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2891, allocations: 14.72 kB / 402.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.2892, allocations: 27.72 kB / 402.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.2893, allocations: 38.92 kB / 402.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2897, allocations: 388 kB / 403.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2897, allocations: 3.938 kB / 403.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.29, allocations: 41.5 kB / 403.2 MB, free: 1.227 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.0007832/0.2908, allocations: 1.081 MB / 404.2 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.2912, allocations: 377.2 kB / 404.6 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2912, allocations: 0 / 404.6 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2915, allocations: 300.1 kB / 404.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.2921, allocations: 131.5 kB / 405 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.2957, allocations: 2.751 MB / 407.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.2962, allocations: 0.803 MB / 408.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.2963, allocations: 13.52 kB / 408.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.2964, allocations: 31.98 kB / 408.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2964, allocations: 3.938 kB / 408.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.32, allocations: 5.816 MB / 414.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.467, allocations: 18.09 kB / 414.5 MB, free: 10.61 MB / 334.1 MB " [Timeout remaining time 651] (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: 10.693573886994272] Failed to read output from testmodel.py, exit status != 0: ['time', 'bUF3S.y'] 8.588849130028393 8.602872887 8.319331706 Calling exit ...