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.Adder.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.001692/0.001692, allocations: 109 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.002174/0.002174, allocations: 213.9 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",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.001901/0.001901, allocations: 72.75 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005039/0.2646, allocations: 3.239 MB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2661, allocations: 0.8219 MB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.2663, allocations: 7.938 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.2665, allocations: 63.42 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.2667, allocations: 115 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.2671, allocations: 135.8 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.2677, allocations: 446.2 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2679, allocations: 108.4 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.2682, allocations: 179.4 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.2684, allocations: 179.2 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.2685, allocations: 44 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.2686, allocations: 48 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.2687, allocations: 91.64 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2689, allocations: 195.1 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.2694, allocations: 0.5066 MB / 438.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2694, allocations: 0 / 438.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2694, allocations: 0 / 438.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2694, allocations: 3.938 kB / 438.1 MB, free: 0.6914 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001107/0.2706, allocations: 0.6065 MB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2706, allocations: 8.031 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.2708, allocations: 70.8 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2709, allocations: 44.7 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.2714, allocations: 261.7 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2714, allocations: 21.03 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.2715, allocations: 32.38 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.2721, allocations: 349.2 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2721, allocations: 0 / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.2721, allocations: 12 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2722, allocations: 12 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.2727, allocations: 274.4 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.2747, allocations: 1.226 MB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.2753, allocations: 198.7 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2755, allocations: 96.73 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2755, allocations: 4 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2756, allocations: 30.56 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2756, allocations: 4 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001914/0.2775, allocations: 0.5564 MB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.2775, allocations: 59.39 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.2779, allocations: 300.2 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2779, allocations: 29.7 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.2781, allocations: 220.3 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.2781, allocations: 55.52 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.2782, allocations: 53.66 kB / 442.6 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2784, allocations: 338.8 kB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2786, allocations: 75.95 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.2788, allocations: 167 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.2793, allocations: 244.8 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2793, allocations: 3.938 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000913/0.2802, allocations: 406.1 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2802, allocations: 7.938 kB / 443.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2802, allocations: 4 kB / 443.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.2806, allocations: 108.8 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2808, allocations: 43.92 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.2838, allocations: 2.065 MB / 446 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.2841, allocations: 43.78 kB / 446 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2841, allocations: 16 kB / 446.1 MB, free: 8.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.2843, allocations: 155.3 kB / 446.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.2843, allocations: 27.8 kB / 446.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.2844, allocations: 29.84 kB / 446.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2844, allocations: 3.938 kB / 446.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2844, allocations: 0 / 446.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2844, allocations: 3.984 kB / 446.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2856, allocations: 0.6935 MB / 447 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2857, allocations: 0 / 447 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.2857, allocations: 12 kB / 447 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/0.286, allocations: 108.7 kB / 447.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.286, allocations: 4 kB / 447.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.2888, allocations: 2.055 MB / 449.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2888, allocations: 4.062 kB / 449.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.2896, allocations: 408.4 kB / 449.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.2897, allocations: 31.8 kB / 449.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2897, allocations: 0 / 449.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2899, allocations: 27.98 kB / 449.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.29, allocations: 15.91 kB / 449.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.29, allocations: 4 kB / 449.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2902, allocations: 219.1 kB / 449.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2902, allocations: 0 / 449.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.2907, allocations: 87.83 kB / 449.9 MB, free: 4.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.2918, allocations: 0.9387 MB / 450.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007494/0.2926, allocations: 334.5 kB / 451.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2926, allocations: 0 / 451.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.293, allocations: 235 kB / 451.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.2933, allocations: 44.47 kB / 451.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.2982, allocations: 3.149 MB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.2986, allocations: 0.7713 MB / 455.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.2987, allocations: 22.3 kB / 455.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2988, allocations: 95.41 kB / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2988, allocations: 0 / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.3385, allocations: 6.838 MB / 462.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.15, allocations: 3.188 kB / 462.3 MB, free: 7.73 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_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_Adder.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.613684986252338] Failed to read output from testmodel.py, exit status != 0: ['time', 'vOut.v'] 12.240909985266626 12.256046327 11.983376006 Calling exit ...