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.001744/0.001744, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002293/0.002293, allocations: 221.2 kB / 23 MB, free: 5.582 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.389/1.389, allocations: 230.5 MB / 256.5 MB, free: 8.199 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.001866/0.001866, allocations: 63.84 kB / 376.3 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2664, allocations: 53.32 MB / 429.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009438/0.2759, allocations: 7.938 MB / 437.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004322/0.2802, allocations: 1.905 MB / 439.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.2811, allocations: 27.88 kB / 439.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.2817, allocations: 237.7 kB / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2827, allocations: 456.3 kB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.2837, allocations: 0.4993 MB / 440.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.2858, allocations: 1.794 MB / 442.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.2865, allocations: 443.8 kB / 442.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.2873, allocations: 0.6345 MB / 443.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.2882, allocations: 0.7156 MB / 444.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.2884, allocations: 180 kB / 444.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2887, allocations: 180 kB / 444.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.289, allocations: 354.8 kB / 444.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.2898, allocations: 0.7737 MB / 445.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.2922, allocations: 2.063 MB / 447.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2922, allocations: 0 / 447.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2922, allocations: 0 / 447.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.2923, allocations: 0 / 447.7 MB, free: 5.129 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.003505/0.2958, allocations: 1.827 MB / 449.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2958, allocations: 8.031 kB / 449.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.2961, allocations: 182 kB / 449.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002491/0.2963, allocations: 164 kB / 449.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2976, allocations: 0.7689 MB / 450.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/0.2977, allocations: 94.39 kB / 450.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.2979, allocations: 123.9 kB / 450.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.3004, allocations: 1.32 MB / 452.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3004, allocations: 0 / 452.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.3005, allocations: 55.98 kB / 452.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.3006, allocations: 32 kB / 452.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.3031, allocations: 1.114 MB / 453.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008014/0.3111, allocations: 4.962 MB / 458.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.3137, allocations: 1.141 MB / 459.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.3149, allocations: 494 kB / 460 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.3149, allocations: 12.66 kB / 460 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.315, allocations: 47.22 kB / 460.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 1.984e-06/0.315, allocations: 0 / 460.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009013/0.324, allocations: 2.925 MB / 463 MB, free: 5.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.324, allocations: 89.77 kB / 463.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.3252, allocations: 0.8059 MB / 463.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.3253, allocations: 37.7 kB / 463.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.3258, allocations: 0.613 MB / 464.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.3261, allocations: 289.5 kB / 464.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3264, allocations: 174.6 kB / 465 MB, free: 3.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3265, allocations: 345.9 kB / 465.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.3274, allocations: 365.8 kB / 465.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3286, allocations: 0.5855 MB / 466.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.3306, allocations: 0.9521 MB / 467.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3306, allocations: 0 / 467.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003417/0.334, allocations: 1.354 MB / 468.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.334, allocations: 10.81 kB / 468.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.334, allocations: 12.31 kB / 468.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000832/0.3349, allocations: 218.4 kB / 468.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.3385, allocations: 0.8311 MB / 469.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.3532, allocations: 10.84 MB / 480.5 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.3542, allocations: 143.2 kB / 480.6 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.3543, allocations: 47.92 kB / 480.7 MB, free: 2.527 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.0005078/0.3548, allocations: 273.5 kB / 480.9 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.355, allocations: 107.3 kB / 481 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.3552, allocations: 112.8 kB / 481.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3552, allocations: 8 kB / 481.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3552, allocations: 7.984 kB / 481.2 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.3552, allocations: 7.984 kB / 481.2 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/0.3606, allocations: 2.448 MB / 483.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3606, allocations: 0 / 483.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.3611, allocations: 127.7 kB / 483.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.3625, allocations: 424.9 kB / 484.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.3626, allocations: 16 kB / 484.2 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.3764, allocations: 10.89 MB / 495.1 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3764, allocations: 8.062 kB / 495.1 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.3815, allocations: 1.937 MB / 497 MB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.3819, allocations: 192.3 kB / 497.2 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.382, allocations: 16 kB / 497.2 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.3828, allocations: 103.8 kB / 497.3 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.383, allocations: 68.47 kB / 497.4 MB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.3831, allocations: 20 kB / 497.4 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.3839, allocations: 0.5537 MB / 497.9 MB, free: 228 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 497.9 MB, free: 228 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001304/0.3852, allocations: 359.3 kB / 498.3 MB, free: 15.87 MB / 414.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.005208/0.3904, allocations: 2.507 MB / 0.4891 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00634/0.3967, allocations: 1.959 MB / 0.491 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.3967, allocations: 4 kB / 0.491 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.3987, allocations: 1.137 MB / 0.4921 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4, allocations: 210.7 kB / 0.4923 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.4176, allocations: 9.277 MB / 0.5013 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.4185, allocations: 1.074 MB / 0.5024 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004668/0.4189, allocations: 99.48 kB / 0.5025 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.4195, allocations: 431.3 kB / 0.5029 GB, free: 14.67 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4195, allocations: 0 / 0.5029 GB, free: 14.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07121/0.4907, allocations: 24.28 MB / 0.5266 GB, free: 6.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.8, allocations: 0 / 0.5266 GB, free: 6.652 MB / 446.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 & /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 --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: 16.11836598700029] 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'] 13.91453287602053 13.937765008 13.640778177 Calling exit ...