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.00184/0.00184, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002132/0.002132, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.485/1.485, allocations: 230.5 MB / 254.8 MB, free: 15.13 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.001954/0.001954, allocations: 67.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 53.33 MB / 427.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004525/0.1126, allocations: 2.764 MB / 429.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1139, allocations: 0.705 MB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.114, allocations: 4 kB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1142, allocations: 47.56 kB / 430.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1144, allocations: 91.25 kB / 430.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1147, allocations: 91.83 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.1151, allocations: 346.5 kB / 431.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1153, allocations: 68.7 kB / 431.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1155, allocations: 135.5 kB / 431.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1157, allocations: 147.4 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.1157, allocations: 28 kB / 431.5 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.1158, allocations: 28 kB / 431.5 MB, free: 320 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.1159, allocations: 67.7 kB / 431.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.116, allocations: 139.3 kB / 431.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.198/0.314, allocations: 320.8 kB / 432 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.314, allocations: 1.5 kB / 432 MB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.314, allocations: 1 kB / 432 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3141, allocations: 0 / 432 MB, free: 8.328 MB / 350.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.00112/0.3152, allocations: 0.6439 MB / 432.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3152, allocations: 8.688 kB / 432.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3153, allocations: 56.36 kB / 432.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.3153, allocations: 33.41 kB / 432.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.3157, allocations: 277.9 kB / 433 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.3157, allocations: 19.09 kB / 433 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3157, allocations: 19.84 kB / 433.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3163, allocations: 283 kB / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3163, allocations: 0 / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3163, allocations: 6.531 kB / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3163, allocations: 7.094 kB / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.317, allocations: 251.8 kB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3183, allocations: 0.896 MB / 434.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3197, allocations: 436.9 kB / 434.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.32, allocations: 89.62 kB / 435 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.32, allocations: 2.094 kB / 435 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.3204, allocations: 167.1 kB / 435.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3204, allocations: 0 / 435.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001946/0.3224, allocations: 0.5809 MB / 435.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3224, allocations: 106.3 kB / 435.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3226, allocations: 270.2 kB / 436.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3227, allocations: 29.83 kB / 436.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3227, allocations: 194.4 kB / 436.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3228, allocations: 34.95 kB / 436.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.3228, allocations: 47.02 kB / 436.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.3229, allocations: 337.1 kB / 436.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.3232, allocations: 100.1 kB / 436.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3236, allocations: 196.2 kB / 437 MB, free: 5.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.3242, allocations: 301 kB / 437.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3242, allocations: 5.156 kB / 437.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001143/0.3254, allocations: 431.8 kB / 437.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3254, allocations: 37.27 kB / 437.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3254, allocations: 2.75 kB / 437.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.3257, allocations: 59.38 kB / 437.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3259, allocations: 54.39 kB / 437.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3277, allocations: 1.6 MB / 439.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.328, allocations: 57.58 kB / 439.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.328, allocations: 11.47 kB / 439.6 MB, free: 4.148 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.0001063/0.3281, allocations: 147.2 kB / 439.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3282, allocations: 30.75 kB / 439.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.3282, allocations: 22.2 kB / 439.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3282, allocations: 1.094 kB / 439.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3282, allocations: 3.547 kB / 439.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3282, allocations: 0.6562 kB / 439.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.3295, allocations: 0.6486 MB / 440.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3295, allocations: 0.5625 kB / 440.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3296, allocations: 25.5 kB / 440.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.3298, allocations: 58.03 kB / 440.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3298, allocations: 1.781 kB / 440.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.3314, allocations: 1.603 MB / 442.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3314, allocations: 4.328 kB / 442.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.3324, allocations: 394.5 kB / 442.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.3325, allocations: 97.12 kB / 442.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3325, allocations: 6.703 kB / 442.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.3328, allocations: 29.38 kB / 442.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.3328, allocations: 20.42 kB / 442.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3328, allocations: 2.812 kB / 442.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.333, allocations: 193.5 kB / 442.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 442.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.3334, allocations: 69.27 kB / 442.9 MB, free: 1.953 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.001187/0.3346, allocations: 0.9284 MB / 443.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.3354, allocations: 386.9 kB / 444.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3354, allocations: 0 / 444.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.3358, allocations: 204.7 kB / 444.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3362, allocations: 45.47 kB / 444.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.3412, allocations: 3.012 MB / 447.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3416, allocations: 0.7427 MB / 448.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3417, allocations: 29.59 kB / 448.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3419, allocations: 74.67 kB / 448.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3419, allocations: 288 / 448.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.38, allocations: 6.105 MB / 454.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.84, allocations: 9.359 kB / 454.4 MB, free: 13.27 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.359632946085185] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.93644891679287 11.955389474 11.637702635 Calling exit ...