Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001361/0.001361, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001487/0.001487, allocations: 215.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 43.92 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2758, allocations: 53.37 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004066/0.2799, allocations: 2.588 MB / 434.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2813, allocations: 0.6778 MB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.2815, allocations: 8 kB / 435.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2816, allocations: 35.58 kB / 435.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.2819, allocations: 95.25 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2822, allocations: 103.8 kB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.2827, allocations: 346.5 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2829, allocations: 60.91 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.2831, allocations: 139.5 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.2833, allocations: 143.4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.2834, allocations: 28 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.2834, allocations: 28 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.2835, allocations: 71.69 kB / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2837, allocations: 115.5 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.2841, allocations: 330.7 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2841, allocations: 0 / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2841, allocations: 0 / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2841, allocations: 0 / 436.6 MB, free: 1.871 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001238/0.2854, allocations: 0.5663 MB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2854, allocations: 12.03 kB / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.2854, allocations: 4.625 kB / 437.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.827e-05/0.2855, allocations: 62.72 kB / 437.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.2856, allocations: 28.75 kB / 437.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.286, allocations: 221.8 kB / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.286, allocations: 16.81 kB / 437.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.286, allocations: 20.31 kB / 437.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.2867, allocations: 329.1 kB / 437.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2867, allocations: 4 kB / 437.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2868, allocations: 11.98 kB / 437.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.2868, allocations: 8 kB / 437.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.2875, allocations: 241.5 kB / 438.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2891, allocations: 0.8061 MB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.2906, allocations: 358.2 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.2909, allocations: 88.78 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2909, allocations: 7.938 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.2914, allocations: 213.2 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2914, allocations: 0 / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.00198/0.2934, allocations: 0.498 MB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.2935, allocations: 114.8 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2938, allocations: 265.9 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.2938, allocations: 33.7 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.294, allocations: 191.9 kB / 440.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.294, allocations: 35.72 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.2941, allocations: 49.66 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2943, allocations: 334.8 kB / 441.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.2946, allocations: 125.6 kB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.2951, allocations: 282.6 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.2958, allocations: 304.7 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2958, allocations: 4 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001207/0.297, allocations: 453.6 kB / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.2971, allocations: 37.69 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2971, allocations: 11.94 kB / 442.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.2974, allocations: 52.89 kB / 442.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2976, allocations: 59.89 kB / 442.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.2999, allocations: 1.509 MB / 443.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3002, allocations: 55.91 kB / 444 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.3002, allocations: 12 kB / 444 MB, free: 9.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.3004, allocations: 145.1 kB / 444.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.3004, allocations: 27.8 kB / 444.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.3005, allocations: 29.7 kB / 444.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3005, allocations: 0 / 444.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3005, allocations: 4 kB / 444.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3005, allocations: 0 / 444.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3018, allocations: 0.5802 MB / 444.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3018, allocations: 0 / 444.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3019, allocations: 27.97 kB / 444.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.3021, allocations: 56.83 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3022, allocations: 3.984 kB / 444.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.3042, allocations: 1.502 MB / 446.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3042, allocations: 80 / 446.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.3052, allocations: 396 kB / 446.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3053, allocations: 27.8 kB / 446.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.3053, allocations: 3.984 kB / 446.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.3056, allocations: 35.97 kB / 446.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3056, allocations: 15.97 kB / 446.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3057, allocations: 4 kB / 446.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3059, allocations: 197.1 kB / 447 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3059, allocations: 0 / 447 MB, free: 6.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004508/0.3063, allocations: 63.95 kB / 447.1 MB, free: 6.699 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/0.3077, allocations: 0.9317 MB / 448 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009371/0.3086, allocations: 411.6 kB / 448.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3086, allocations: 4 kB / 448.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.309, allocations: 199.3 kB / 448.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3094, allocations: 54.92 kB / 448.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.3147, allocations: 3.11 MB / 451.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3149, allocations: 130.5 kB / 451.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.315, allocations: 26.28 kB / 451.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3151, allocations: 75.41 kB / 452 MB, free: 1.492 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3151, allocations: 3.938 kB / 452 MB, free: 1.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.3468, allocations: 6.434 MB / 458.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.86, allocations: 14.86 kB / 458.4 MB, free: 11.27 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.241786328959279] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.034066932974383 13.048868565 12.761653265 Calling exit ...