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.001591/0.001591, 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.001971/0.001971, 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002221/0.002221, allocations: 68.77 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2612, allocations: 53.37 MB / 432 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01037/0.2716, allocations: 7.941 MB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.2762, allocations: 1.913 MB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.2781, allocations: 31.81 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.279, allocations: 229.7 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.2805, allocations: 456.2 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2817, allocations: 0.4994 MB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.2839, allocations: 1.802 MB / 444.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007522/0.2847, allocations: 440.3 kB / 445.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.2856, allocations: 0.6579 MB / 445.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009369/0.2865, allocations: 0.7156 MB / 446.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.2868, allocations: 180 kB / 446.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.287, allocations: 176 kB / 447 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.2873, allocations: 362.8 kB / 447.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008475/0.2882, allocations: 0.7698 MB / 448.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.2906, allocations: 2.059 MB / 450.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2906, allocations: 0 / 450.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2906, allocations: 0 / 450.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.067e-05/0.2906, allocations: 3.938 kB / 450.2 MB, free: 4.582 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.003552/0.2942, allocations: 1.751 MB / 451.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.2942, allocations: 12.03 kB / 451.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.2945, allocations: 182 kB / 452.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.2948, allocations: 168 kB / 452.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.2961, allocations: 0.7007 MB / 453 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.2962, allocations: 90.39 kB / 453 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.2964, allocations: 120 kB / 453.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.2989, allocations: 1.309 MB / 454.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.299, allocations: 3.938 kB / 454.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2991, allocations: 52 kB / 454.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.2991, allocations: 28 kB / 454.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.3016, allocations: 1.122 MB / 455.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008262/0.3099, allocations: 4.867 MB / 460.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.3123, allocations: 0.991 MB / 461.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3134, allocations: 490.1 kB / 462 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.3135, allocations: 8.656 kB / 462 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.3135, allocations: 51.14 kB / 462.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.466e-06/0.3136, allocations: 0 / 462.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008262/0.3218, allocations: 2.473 MB / 464.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.3219, allocations: 93.64 kB / 464.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3232, allocations: 0.8059 MB / 465.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.3233, allocations: 41.7 kB / 465.5 MB, free: 4.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.3238, allocations: 0.617 MB / 466.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.3241, allocations: 289.5 kB / 466.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.3243, allocations: 170.6 kB / 466.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3245, allocations: 345.9 kB / 466.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009062/0.3254, allocations: 365.8 kB / 467.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3265, allocations: 0.5816 MB / 467.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.3285, allocations: 0.952 MB / 468.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3285, allocations: 0 / 468.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003336/0.3318, allocations: 1.354 MB / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.3318, allocations: 8 kB / 470.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3319, allocations: 7.938 kB / 470.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008384/0.3327, allocations: 226.4 kB / 470.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.3361, allocations: 0.8389 MB / 471.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.3506, allocations: 10.23 MB / 481.4 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3518, allocations: 143.3 kB / 481.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.3518, allocations: 40 kB / 481.6 MB, free: 3.758 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.0006631/0.3525, allocations: 277.8 kB / 481.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.3527, allocations: 103.3 kB / 482 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.3529, allocations: 112.8 kB / 482.1 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3529, allocations: 8 kB / 482.1 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.353, allocations: 3.984 kB / 482.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.353, allocations: 4 kB / 482.1 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.3584, allocations: 2.414 MB / 484.5 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3584, allocations: 0 / 484.5 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.359, allocations: 123.8 kB / 484.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.3603, allocations: 420.9 kB / 485.1 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.3604, allocations: 24 kB / 485.1 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.374, allocations: 10.3 MB / 495.4 MB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.374, allocations: 0 / 495.4 MB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.3788, allocations: 1.929 MB / 497.3 MB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.3791, allocations: 115.2 kB / 497.4 MB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3792, allocations: 20 kB / 497.4 MB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/0.38, allocations: 107.8 kB / 497.5 MB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3801, allocations: 68.47 kB / 497.6 MB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.3802, allocations: 20 kB / 497.6 MB, free: 2.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007783/0.381, allocations: 0.5537 MB / 498.2 MB, free: 2.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.381, allocations: 0 / 498.2 MB, free: 2.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001311/0.3823, allocations: 359.3 kB / 498.5 MB, free: 2 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.0051/0.3874, allocations: 2.508 MB / 0.4893 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.3933, allocations: 1.956 MB / 0.4912 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3933, allocations: 0 / 0.4912 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.3952, allocations: 1.145 MB / 0.4923 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.3967, allocations: 207 kB / 0.4925 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.4154, allocations: 9.264 MB / 0.5016 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/0.4164, allocations: 1.078 MB / 0.5026 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000497/0.4169, allocations: 103.5 kB / 0.5027 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.4175, allocations: 435.3 kB / 0.5031 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4175, allocations: 0 / 0.5031 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08454/0.5021, allocations: 24.88 MB / 0.5274 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.58, allocations: 2.75 kB / 0.5274 GB, free: 8.195 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.319170224945992] 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.700050279032439 14.94581143 14.652534876 Calling exit ...