Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00229/0.00229, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2599, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004418/0.2643, allocations: 2.79 MB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2657, allocations: 0.7167 MB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2659, allocations: 4 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.266, allocations: 43.58 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.2663, allocations: 91.25 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2666, allocations: 99.81 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.267, allocations: 350.5 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.2672, allocations: 60.89 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2674, allocations: 135.5 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2676, allocations: 147.4 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.2676, allocations: 28 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.2677, allocations: 28 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.2678, allocations: 67.7 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2679, allocations: 143.3 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.2683, allocations: 331.5 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2683, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2683, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.2683, allocations: 0 / 437 MB, free: 1.879 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.00123/0.2696, allocations: 0.5663 MB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2696, allocations: 8.031 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.2697, allocations: 54.73 kB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.2697, allocations: 32.75 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2701, allocations: 221.8 kB / 437.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2702, allocations: 12.81 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.2702, allocations: 24.38 kB / 437.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.2709, allocations: 277.8 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2709, allocations: 0 / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.2709, allocations: 12 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.2709, allocations: 4 kB / 438.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.2716, allocations: 241.6 kB / 438.4 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.2734, allocations: 0.8717 MB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.2749, allocations: 358.3 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.2752, allocations: 96.66 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2752, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.2757, allocations: 161.8 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.2757, allocations: 4 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001908/0.2776, allocations: 0.498 MB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2777, allocations: 102.8 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.2781, allocations: 269.9 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.2781, allocations: 33.7 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.2783, allocations: 191.9 kB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.2783, allocations: 35.72 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2784, allocations: 49.7 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2786, allocations: 334.8 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.2789, allocations: 99.86 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.2793, allocations: 201.6 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.28, allocations: 297.4 kB / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.28, allocations: 0 / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001127/0.2811, allocations: 434.6 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.2812, allocations: 33.7 kB / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2812, allocations: 11.98 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.2815, allocations: 64.88 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.2817, allocations: 47.91 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.2842, allocations: 1.506 MB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.2845, allocations: 55.75 kB / 444.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.2845, allocations: 12 kB / 444.1 MB, free: 10.25 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.0001709/0.2847, allocations: 147.2 kB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.2847, allocations: 23.8 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.2848, allocations: 29.7 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2848, allocations: 0 / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2848, allocations: 3.938 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2848, allocations: 0 / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.2861, allocations: 0.6152 MB / 444.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2861, allocations: 0 / 444.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.2863, allocations: 31.97 kB / 444.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.2865, allocations: 48.83 kB / 445 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2865, allocations: 7.984 kB / 445 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.2885, allocations: 1.513 MB / 446.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2885, allocations: 4.031 kB / 446.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.2895, allocations: 384 kB / 446.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.2896, allocations: 31.78 kB / 446.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2896, allocations: 4 kB / 446.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.2899, allocations: 35.95 kB / 447 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.29, allocations: 15.97 kB / 447 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.29, allocations: 4 kB / 447 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.2902, allocations: 185.2 kB / 447.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2902, allocations: 0 / 447.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.2906, allocations: 67.94 kB / 447.2 MB, free: 6.918 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.001363/0.2919, allocations: 0.9356 MB / 448.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009939/0.2929, allocations: 382 kB / 448.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2929, allocations: 0 / 448.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.2934, allocations: 202.6 kB / 448.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2938, allocations: 45.17 kB / 448.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.2991, allocations: 2.998 MB / 451.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.2995, allocations: 0.7402 MB / 452.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2997, allocations: 30.55 kB / 452.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2998, allocations: 75.41 kB / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2998, allocations: 0 / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.3378, allocations: 6.207 MB / 458.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.11, allocations: 8.891 kB / 458.8 MB, free: 11.21 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.593479947187006] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.203639533836395 12.223293959 11.951064814 Calling exit ...