Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00128/0.00128, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001407/0.001407, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.89 kB / 378.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004339/0.276, allocations: 2.607 MB / 434.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2775, allocations: 0.6545 MB / 435.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.2778, allocations: 4 kB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.2779, allocations: 47.52 kB / 435.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2782, allocations: 91.25 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.2785, allocations: 95.81 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.2789, allocations: 346.5 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.2791, allocations: 56.91 kB / 435.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2793, allocations: 139.4 kB / 436 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2795, allocations: 151.3 kB / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.2796, allocations: 28 kB / 436.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.2796, allocations: 28 kB / 436.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.2797, allocations: 63.75 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2799, allocations: 123.5 kB / 436.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.2803, allocations: 326.7 kB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2803, allocations: 0 / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2803, allocations: 4 kB / 436.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2803, allocations: 0 / 436.7 MB, free: 1.695 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001151/0.2814, allocations: 0.5661 MB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2815, allocations: 12.03 kB / 437.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.912e-05/0.2815, allocations: 8.625 kB / 437.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.2816, allocations: 58.67 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.2816, allocations: 32.75 kB / 437.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.282, allocations: 225.8 kB / 437.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2821, allocations: 12.81 kB / 437.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.2821, allocations: 20.38 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.2827, allocations: 320.3 kB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2827, allocations: 4 kB / 437.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.2828, allocations: 8 kB / 437.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2828, allocations: 4 kB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.2834, allocations: 225.5 kB / 438.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.285, allocations: 0.7692 MB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.2857, allocations: 170.5 kB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.2859, allocations: 80.8 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.286, allocations: 4.031 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/0.2864, allocations: 243.8 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.2864, allocations: 4 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001474/0.2879, allocations: 358 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.288, allocations: 132.5 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.2885, allocations: 273.8 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.2885, allocations: 25.7 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.2887, allocations: 188.1 kB / 440.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.2888, allocations: 47.64 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2889, allocations: 49.94 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.289, allocations: 338.8 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.2894, allocations: 110.1 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.2898, allocations: 301.3 kB / 441.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.2904, allocations: 267.8 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2904, allocations: 4 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009562/0.2914, allocations: 397.6 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.2914, allocations: 33.7 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2914, allocations: 7.984 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.2917, allocations: 56.75 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.292, allocations: 55.89 kB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.2937, allocations: 1.457 MB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2941, allocations: 59.8 kB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2941, allocations: 12 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.2943, allocations: 145.9 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.2943, allocations: 23.86 kB / 443.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.2944, allocations: 29.77 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2944, allocations: 0 / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2944, allocations: 0 / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2944, allocations: 4 kB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2955, allocations: 0.5556 MB / 444.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.2955, allocations: 8 kB / 444.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.2956, allocations: 23.97 kB / 444.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.2958, allocations: 56.75 kB / 444.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2958, allocations: 3.984 kB / 444.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.2976, allocations: 1.453 MB / 445.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2976, allocations: 0 / 445.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.2983, allocations: 336.3 kB / 446.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.2984, allocations: 27.83 kB / 446.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2984, allocations: 11.94 kB / 446.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2987, allocations: 27.91 kB / 446.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.2988, allocations: 27.95 kB / 446.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2988, allocations: 7.938 kB / 446.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.299, allocations: 185.2 kB / 446.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.299, allocations: 0 / 446.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.2994, allocations: 79.88 kB / 446.5 MB, free: 7.086 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.3005, allocations: 0.8802 MB / 447.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.3014, allocations: 403.5 kB / 447.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3014, allocations: 0 / 447.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.3018, allocations: 207.3 kB / 448 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.3022, allocations: 50.59 kB / 448 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.3074, allocations: 3.046 MB / 451.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.3076, allocations: 142.1 kB / 451.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.3077, allocations: 34.28 kB / 451.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3078, allocations: 75.41 kB / 451.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3078, allocations: 0 / 451.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.3412, allocations: 6.745 MB / 458.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.03, allocations: 29.16 kB / 458.1 MB, free: 11.41 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.439101535012014] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.20564201392699 13.22087889 12.937590904 Calling exit ...