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.ControlCircuit.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.001603/0.001603, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001898/0.001898, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.469/1.469, allocations: 230.5 MB / 254.8 MB, free: 14.91 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.ControlCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",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.001989/0.001989, allocations: 71.78 kB / 373.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.34 MB / 427.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2234/0.3269, allocations: 7.906 MB / 435 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.3306, allocations: 1.904 MB / 436.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.3315, allocations: 33.66 kB / 436.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.332, allocations: 234.3 kB / 437.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.333, allocations: 459.4 kB / 437.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3342, allocations: 0.4896 MB / 438.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.3363, allocations: 1.795 MB / 439.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.337, allocations: 445.1 kB / 440.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.3379, allocations: 0.6524 MB / 441 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007592/0.3387, allocations: 0.7183 MB / 441.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.3389, allocations: 182.6 kB / 441.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3392, allocations: 179 kB / 442 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.3394, allocations: 356.8 kB / 442.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006568/0.3401, allocations: 0.7714 MB / 443.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.3423, allocations: 2.055 MB / 445.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3423, allocations: 0 / 445.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3423, allocations: 4 kB / 445.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.7e-05/0.3424, allocations: 0 / 445.2 MB, free: 2.504 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003701/0.3461, allocations: 1.827 MB / 447 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3461, allocations: 14.91 kB / 447 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.3464, allocations: 180.6 kB / 447.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.3466, allocations: 163.9 kB / 447.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.3478, allocations: 0.7698 MB / 448.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.3479, allocations: 91.8 kB / 448.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.3481, allocations: 120.2 kB / 448.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.3505, allocations: 1.309 MB / 449.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3505, allocations: 7.938 kB / 449.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.3507, allocations: 53.05 kB / 449.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.3507, allocations: 30.06 kB / 449.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.3535, allocations: 1.122 MB / 450.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00852/0.3621, allocations: 4.965 MB / 455.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.3646, allocations: 1.142 MB / 457 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.3658, allocations: 492.4 kB / 457.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.283e-05/0.3658, allocations: 9.188 kB / 457.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.3659, allocations: 52.34 kB / 457.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.336e-06/0.3659, allocations: 1.688 kB / 457.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009042/0.3749, allocations: 2.933 MB / 460.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.375, allocations: 84.89 kB / 460.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3762, allocations: 0.8033 MB / 461.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/0.3763, allocations: 38.83 kB / 461.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/0.3767, allocations: 0.6126 MB / 462 MB, free: 8.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.377, allocations: 287.2 kB / 462.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.3773, allocations: 173.8 kB / 462.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3774, allocations: 346.9 kB / 462.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.3784, allocations: 366.3 kB / 463.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.3794, allocations: 0.5799 MB / 463.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.3814, allocations: 0.9483 MB / 464.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.3814, allocations: 6.25 kB / 464.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003313/0.3847, allocations: 1.36 MB / 466 MB, free: 6.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3848, allocations: 7.906 kB / 466 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3848, allocations: 7.031 kB / 466.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008052/0.3856, allocations: 223.5 kB / 466.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/0.3892, allocations: 0.8278 MB / 467.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.404, allocations: 10.85 MB / 477.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4052, allocations: 142.2 kB / 478.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.4053, allocations: 45.77 kB / 478.1 MB, free: 11.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000566/0.4059, allocations: 272.8 kB / 478.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4061, allocations: 105.6 kB / 478.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.4063, allocations: 112.4 kB / 478.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4063, allocations: 8.406 kB / 478.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4063, allocations: 1.312 kB / 478.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.4063, allocations: 7.984 kB / 478.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.4118, allocations: 2.452 MB / 481.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4118, allocations: 0 / 481.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.4124, allocations: 119.8 kB / 481.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.4138, allocations: 428.8 kB / 481.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.4139, allocations: 19.94 kB / 481.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.4284, allocations: 10.89 MB / 492.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4284, allocations: 4.031 kB / 492.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.4335, allocations: 1.941 MB / 494.5 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.434, allocations: 194.8 kB / 494.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4341, allocations: 16 kB / 494.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.4349, allocations: 104.2 kB / 494.8 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.435, allocations: 64.42 kB / 494.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.4351, allocations: 28 kB / 494.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007937/0.4359, allocations: 0.5537 MB / 495.4 MB, free: 9.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4359, allocations: 0 / 495.4 MB, free: 9.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001353/0.4372, allocations: 355.3 kB / 495.8 MB, free: 9.496 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0054/0.4426, allocations: 2.511 MB / 498.3 MB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006363/0.449, allocations: 1.955 MB / 0.4885 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.449, allocations: 0 / 0.4885 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.4509, allocations: 1.133 MB / 0.4896 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4522, allocations: 204.4 kB / 0.4898 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.4707, allocations: 9.271 MB / 0.4989 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.4715, allocations: 1.078 MB / 0.4999 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000524/0.472, allocations: 103.5 kB / 0.5 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.4726, allocations: 427.3 kB / 0.5004 GB, free: 8.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4726, allocations: 0 / 0.5004 GB, free: 8.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07591/0.5485, allocations: 24.2 MB / 0.5241 GB, free: 456 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.07, allocations: 7.578 kB / 0.5241 GB, free: 452 kB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_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_ControlCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.57364956010133] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder1A.c.v', 'firstOrder1B.y', 'firstOrder2A.c.v', 'firstOrder2B.y', 'PIA.c.v', 'PIB.x', 'addA.opAmp.v_out', 'addB.y'] 14.180553104262799 14.207363925 13.860031002 Calling exit ...