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.VoltageFollower.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.001837/0.001837, allocations: 105.1 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.002429/0.002429, allocations: 213.9 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.VoltageFollower,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",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.001914/0.001914, allocations: 64.56 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2466, allocations: 53.37 MB / 432 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004411/0.251, allocations: 2.785 MB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2524, allocations: 0.7167 MB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2526, allocations: 4 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2527, allocations: 43.58 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2529, allocations: 87.25 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.2532, allocations: 99.83 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.2536, allocations: 350.5 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2537, allocations: 60.89 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2539, allocations: 135.5 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2541, allocations: 151.4 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.2542, allocations: 28 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.2542, allocations: 28 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.2543, allocations: 63.7 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2545, allocations: 143.3 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.2549, allocations: 323.5 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2549, allocations: 4 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2549, allocations: 0 / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2549, allocations: 0 / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001423/0.2563, allocations: 0.5702 MB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.2564, allocations: 8.031 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.2565, allocations: 58.73 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.2566, allocations: 32.75 kB / 437.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.2571, allocations: 217.8 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2571, allocations: 12.81 kB / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.2571, allocations: 28.38 kB / 437.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.2578, allocations: 281.8 kB / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2578, allocations: 0 / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2578, allocations: 8 kB / 438.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.2578, allocations: 4 kB / 438.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.2586, allocations: 245.6 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2602, allocations: 0.8717 MB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.2616, allocations: 354.3 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.2619, allocations: 88.78 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.2619, allocations: 7.938 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.2624, allocations: 169.8 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.2624, allocations: 0 / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001935/0.2644, allocations: 0.498 MB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.2644, allocations: 106.8 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2648, allocations: 265.9 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2648, allocations: 29.7 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2649, allocations: 191.9 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.265, allocations: 43.67 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.2651, allocations: 45.7 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2652, allocations: 334.8 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.2655, allocations: 91.92 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.2659, allocations: 205.6 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.2666, allocations: 297.4 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2666, allocations: 0 / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001133/0.2677, allocations: 439.2 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.2678, allocations: 36.19 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2678, allocations: 4.375 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.2681, allocations: 64.88 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.2683, allocations: 47.95 kB / 442.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.2704, allocations: 1.513 MB / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.2708, allocations: 55.91 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2708, allocations: 8 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.271, allocations: 148.4 kB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.271, allocations: 27.78 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.2711, allocations: 21.72 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2711, allocations: 0 / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2711, allocations: 4 kB / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.2711, allocations: 11.92 kB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2724, allocations: 0.6152 MB / 444.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2724, allocations: 0 / 444.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2725, allocations: 23.98 kB / 444.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2728, allocations: 56.81 kB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2728, allocations: 4 kB / 445 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.2749, allocations: 1.506 MB / 446.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2749, allocations: 4.094 kB / 446.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009971/0.2759, allocations: 387.9 kB / 446.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.276, allocations: 35.78 kB / 446.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.276, allocations: 0 / 446.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2762, allocations: 35.95 kB / 447 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.2763, allocations: 15.98 kB / 447 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2763, allocations: 8.172 kB / 447 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2766, allocations: 185.2 kB / 447.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2766, allocations: 7.938 kB / 447.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.2769, allocations: 55.95 kB / 447.2 MB, free: 6.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.2783, allocations: 0.9316 MB / 448.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.2792, allocations: 386.5 kB / 448.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2792, allocations: 4.125 kB / 448.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.2796, allocations: 202.6 kB / 448.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.28, allocations: 42.17 kB / 448.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.2852, allocations: 3.002 MB / 451.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2856, allocations: 0.744 MB / 452.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.2858, allocations: 30.27 kB / 452.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2859, allocations: 71.42 kB / 452.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2859, allocations: 0 / 452.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.3336, allocations: 6.196 MB / 458.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.12, allocations: 14.14 kB / 458.8 MB, free: 11.2 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.58137674164027] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.219190799165517 12.249198486 11.98830566 Calling exit ...