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.NonInvertingAmplifier.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.001662/0.001662, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002001/0.002001, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",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.001953/0.001953, allocations: 64.78 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 53.37 MB / 432 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004515/0.3024, allocations: 2.975 MB / 434.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3038, allocations: 0.7635 MB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.304, allocations: 4 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.3042, allocations: 55.5 kB / 435.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3044, allocations: 107.2 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3047, allocations: 115.8 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.3052, allocations: 418.4 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.3055, allocations: 87.66 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3057, allocations: 167.4 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3059, allocations: 179.2 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.306, allocations: 40 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.306, allocations: 40 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.3061, allocations: 83.7 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3063, allocations: 175.2 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.3068, allocations: 455.1 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3068, allocations: 0 / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3068, allocations: 0 / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3068, allocations: 0 / 437.6 MB, free: 1.223 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001251/0.3081, allocations: 0.6053 MB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3081, allocations: 11.97 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.3082, allocations: 58.73 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.3083, allocations: 40.7 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.3087, allocations: 257.8 kB / 438.5 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3087, allocations: 20.88 kB / 438.6 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.3088, allocations: 24.38 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.3095, allocations: 322.9 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3095, allocations: 0 / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3096, allocations: 15.98 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3096, allocations: 8 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.3103, allocations: 285.8 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.3122, allocations: 1.104 MB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.313, allocations: 238.6 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.3134, allocations: 104.8 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3134, allocations: 11.92 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.3139, allocations: 177.9 kB / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.3139, allocations: 0 / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002158/0.316, allocations: 0.5949 MB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.3161, allocations: 102.8 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3164, allocations: 285.8 kB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3165, allocations: 33.69 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3166, allocations: 204 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.3167, allocations: 39.91 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3168, allocations: 53.89 kB / 442.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3169, allocations: 338.8 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.3173, allocations: 112.1 kB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.3177, allocations: 220.2 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.3184, allocations: 319.5 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3184, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001183/0.3195, allocations: 475.7 kB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.3196, allocations: 41.77 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3196, allocations: 11.92 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.32, allocations: 76.81 kB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.3202, allocations: 55.89 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.3231, allocations: 1.965 MB / 445.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3235, allocations: 59.73 kB / 445.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3235, allocations: 11.94 kB / 445.8 MB, free: 8.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.3237, allocations: 149.8 kB / 445.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3237, allocations: 27.95 kB / 445.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.3238, allocations: 29.77 kB / 446 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3238, allocations: 0 / 446 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3238, allocations: 4 kB / 446 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3238, allocations: 0 / 446 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.3241, allocations: 296.4 kB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3241, allocations: 4 kB / 446.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3242, allocations: 19.97 kB / 446.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.3245, allocations: 76.81 kB / 446.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3245, allocations: 11.98 kB / 446.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.327, allocations: 1.875 MB / 448.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.327, allocations: 64 / 448.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.328, allocations: 373.5 kB / 448.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.328, allocations: 23.86 kB / 448.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3281, allocations: 7.938 kB / 448.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.3283, allocations: 39.89 kB / 448.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.3284, allocations: 19.97 kB / 448.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3284, allocations: 4 kB / 448.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3286, allocations: 201.2 kB / 448.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3286, allocations: 0 / 448.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.329, allocations: 87.78 kB / 449 MB, free: 5.121 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.3305, allocations: 0.898 MB / 449.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3318, allocations: 0.49 MB / 450.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3318, allocations: 0 / 450.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.3323, allocations: 242.9 kB / 450.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3326, allocations: 40.42 kB / 450.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.34, allocations: 3.588 MB / 454.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3404, allocations: 0.756 MB / 455 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3405, allocations: 22.3 kB / 455 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3407, allocations: 87.41 kB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3407, allocations: 4 kB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.3797, allocations: 7.036 MB / 462.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 14.62 kB / 462.2 MB, free: 7.859 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.547947251237929] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.22697646310553 12.249057692 11.93792246 Calling exit ...