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.001268/0.001268, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001373/0.001373, allocations: 212 kB / 24.54 MB, free: 4.016 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.062 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: 72.77 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2511, allocations: 53.38 MB / 432 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009341/0.2604, allocations: 7.94 MB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.2645, allocations: 1.905 MB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.2653, allocations: 31.81 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.2658, allocations: 233.7 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009542/0.2668, allocations: 456.2 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.2677, allocations: 0.4994 MB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.2698, allocations: 1.798 MB / 444.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.2704, allocations: 440.3 kB / 445.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.2713, allocations: 0.654 MB / 445.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.2722, allocations: 0.7233 MB / 446.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.2725, allocations: 176 kB / 446.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.2727, allocations: 180 kB / 447 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.273, allocations: 354.8 kB / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.2738, allocations: 0.7737 MB / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2761, allocations: 2.059 MB / 450.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2761, allocations: 4 kB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2761, allocations: 0 / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.2761, allocations: 0 / 450.1 MB, free: 4.605 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.003677/0.2798, allocations: 1.748 MB / 451.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2799, allocations: 12.03 kB / 451.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.2801, allocations: 182 kB / 452.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.2804, allocations: 167.9 kB / 452.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.2816, allocations: 0.7046 MB / 453 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.2817, allocations: 94.44 kB / 453 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2818, allocations: 120 kB / 453.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.2843, allocations: 1.309 MB / 454.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.2844, allocations: 7.938 kB / 454.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.2845, allocations: 52 kB / 454.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.2845, allocations: 28 kB / 454.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.2871, allocations: 1.118 MB / 455.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008117/0.2952, allocations: 4.863 MB / 460.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.2975, allocations: 0.9949 MB / 461.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.2986, allocations: 490.1 kB / 462 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.2987, allocations: 16.73 kB / 462 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.2987, allocations: 51.14 kB / 462.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.286e-06/0.2987, allocations: 0 / 462.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.007886/0.3066, allocations: 2.481 MB / 464.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.3067, allocations: 85.77 kB / 464.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3078, allocations: 0.8059 MB / 465.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.3079, allocations: 41.7 kB / 465.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.3084, allocations: 0.6014 MB / 466.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3087, allocations: 293.5 kB / 466.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.3089, allocations: 170.6 kB / 466.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3091, allocations: 345.9 kB / 466.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009051/0.31, allocations: 373.7 kB / 467.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3111, allocations: 0.5777 MB / 467.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.313, allocations: 0.9521 MB / 468.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.313, allocations: 0 / 468.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003253/0.3163, allocations: 1.355 MB / 470.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.3163, allocations: 12.03 kB / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3163, allocations: 4 kB / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/0.3171, allocations: 222.4 kB / 470.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.3204, allocations: 0.835 MB / 471.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.3341, allocations: 10.23 MB / 481.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009876/0.3351, allocations: 147.2 kB / 481.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.3352, allocations: 43.94 kB / 481.6 MB, free: 3.777 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.000521/0.3357, allocations: 281.8 kB / 481.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.3359, allocations: 103.3 kB / 482 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.3361, allocations: 112.8 kB / 482.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3361, allocations: 12 kB / 482.1 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3361, allocations: 0 / 482.1 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3361, allocations: 7.984 kB / 482.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.3412, allocations: 2.414 MB / 484.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3412, allocations: 0 / 484.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.3417, allocations: 123.8 kB / 484.7 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.343, allocations: 424.8 kB / 485.1 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.3431, allocations: 12 kB / 485.1 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.3562, allocations: 10.3 MB / 495.4 MB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3562, allocations: 4.031 kB / 495.4 MB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.3611, allocations: 1.937 MB / 497.3 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.3614, allocations: 115.2 kB / 497.4 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3615, allocations: 12 kB / 497.4 MB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/0.3623, allocations: 107.8 kB / 497.5 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3624, allocations: 72.47 kB / 497.6 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.3625, allocations: 24 kB / 497.6 MB, free: 2.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.3633, allocations: 0.5498 MB / 498.2 MB, free: 2.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3633, allocations: 0 / 498.2 MB, free: 2.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001406/0.3647, allocations: 359.3 kB / 498.5 MB, free: 2.016 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.005134/0.3698, allocations: 2.504 MB / 0.4893 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005781/0.3756, allocations: 1.952 MB / 0.4912 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.3756, allocations: 0 / 0.4912 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.3774, allocations: 1.153 MB / 0.4923 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3786, allocations: 206.1 kB / 0.4925 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.3956, allocations: 9.267 MB / 0.5016 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000913/0.3965, allocations: 1.074 MB / 0.5026 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.397, allocations: 103.5 kB / 0.5027 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000561/0.3976, allocations: 431.3 kB / 0.5031 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3976, allocations: 8 kB / 0.5031 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0953/0.4929, allocations: 24.87 MB / 0.5274 GB, free: 8.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.59, allocations: 3.75 kB / 0.5274 GB, free: 8.207 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.20280451979488] 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.700688905082643 14.886654246 14.607715991 Calling exit ...