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.001489/0.001489, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.00135/0.00135, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.437/1.437, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.002092/0.002093, allocations: 71.83 kB / 365.3 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.101, allocations: 50.54 MB / 415.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00926/0.1103, allocations: 7.882 MB / 423.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.1148, allocations: 1.897 MB / 425.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.1162, allocations: 31.88 kB / 425.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.1172, allocations: 241.6 kB / 425.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1188, allocations: 436.3 kB / 426.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1201, allocations: 0.4955 MB / 426.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1227, allocations: 1.798 MB / 428.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1238, allocations: 0.6013 MB / 429.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.1249, allocations: 0.6422 MB / 429.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.126, allocations: 0.7078 MB / 430.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.1263, allocations: 184 kB / 430.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1266, allocations: 180 kB / 430.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.1269, allocations: 358.7 kB / 431.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.1277, allocations: 0.7775 MB / 432 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.1299, allocations: 2.055 MB / 434.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1299, allocations: 0 / 434.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1299, allocations: 0 / 434.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.1299, allocations: 0 / 434.1 MB, free: 11.2 MB / 366.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.003313/0.1332, allocations: 1.827 MB / 435.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1333, allocations: 8.031 kB / 435.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000277/0.1336, allocations: 186 kB / 436.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.1339, allocations: 164 kB / 436.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.135, allocations: 0.7728 MB / 437 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.1351, allocations: 94.45 kB / 437.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1353, allocations: 116 kB / 437.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.1377, allocations: 1.316 MB / 438.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.1378, allocations: 0 / 438.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1379, allocations: 52 kB / 438.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.1379, allocations: 32 kB / 438.6 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1405, allocations: 1.122 MB / 439.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007754/0.1482, allocations: 4.954 MB / 444.7 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1863/0.3346, allocations: 1.2 MB / 445.9 MB, free: 28.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3356, allocations: 0.5269 MB / 446.4 MB, free: 28.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.3357, allocations: 17.8 kB / 446.4 MB, free: 28.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3357, allocations: 41.91 kB / 446.5 MB, free: 28.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/0.3357, allocations: 0 / 446.5 MB, free: 28.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008221/0.344, allocations: 2.935 MB / 449.4 MB, free: 27.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.344, allocations: 90.25 kB / 449.5 MB, free: 27.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3452, allocations: 0.8081 MB / 450.3 MB, free: 27.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.3453, allocations: 41.86 kB / 450.4 MB, free: 27.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.3457, allocations: 0.6049 MB / 451 MB, free: 27.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.3459, allocations: 292.1 kB / 451.2 MB, free: 27.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3461, allocations: 170.5 kB / 451.4 MB, free: 27.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.3462, allocations: 342.3 kB / 451.7 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.3471, allocations: 370.4 kB / 452.1 MB, free: 26.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3481, allocations: 0.583 MB / 452.7 MB, free: 26.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.35, allocations: 0.95 MB / 453.6 MB, free: 26.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.3501, allocations: 1.188 kB / 453.6 MB, free: 26.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003237/0.3533, allocations: 1.365 MB / 455 MB, free: 26.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3533, allocations: 8.969 kB / 455 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3534, allocations: 5.688 kB / 455 MB, free: 26.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008417/0.3542, allocations: 229.6 kB / 455.2 MB, free: 26.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.358, allocations: 0.8312 MB / 456.1 MB, free: 26.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.3703, allocations: 10.84 MB / 466.9 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3713, allocations: 143.3 kB / 467.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.3714, allocations: 41.83 kB / 467.1 MB, free: 17.5 MB / 366.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.0004574/0.3719, allocations: 274.8 kB / 467.4 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.372, allocations: 109.5 kB / 467.5 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3722, allocations: 103.6 kB / 467.6 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3722, allocations: 8.328 kB / 467.6 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.3722, allocations: 5.312 kB / 467.6 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3723, allocations: 8.875 kB / 467.6 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004884/0.3771, allocations: 2.458 MB / 470.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3772, allocations: 1.156 kB / 470.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.3777, allocations: 123.6 kB / 470.2 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.379, allocations: 427 kB / 470.6 MB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.3791, allocations: 17.72 kB / 470.6 MB, free: 16.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.3895, allocations: 10.9 MB / 481.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3896, allocations: 1.062 kB / 481.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.3942, allocations: 1.94 MB / 483.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.3945, allocations: 193.9 kB / 483.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3946, allocations: 16.59 kB / 483.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.3953, allocations: 103.9 kB / 483.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3955, allocations: 69.8 kB / 483.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.3956, allocations: 21.88 kB / 483.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006396/0.3962, allocations: 0.5487 MB / 484.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3962, allocations: 0 / 484.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3975, allocations: 364.5 kB / 484.8 MB, free: 5.289 MB / 366.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.004435/0.402, allocations: 2.511 MB / 487.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.4073, allocations: 2.007 MB / 489.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4073, allocations: 4 kB / 489.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.4087, allocations: 1.152 MB / 490.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4098, allocations: 214.3 kB / 490.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.4254, allocations: 9.291 MB / 499.9 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.4262, allocations: 1.074 MB / 0.4893 GB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.4266, allocations: 105.6 kB / 0.4894 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.4272, allocations: 427.3 kB / 0.4898 GB, free: 7.832 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4272, allocations: 0 / 0.4898 GB, free: 7.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/0.5184, allocations: 24.03 MB / 0.5132 GB, free: 132 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.21, allocations: 14.34 kB / 0.5133 GB, free: 124 kB / 398.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.708648080937564] 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.31534485600423 14.335913181 14.20216605 Calling exit ...