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.001351/0.001351, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001404/0.001404, allocations: 210.3 kB / 24.53 MB, free: 4.07 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.001798/0.001798, allocations: 59.91 kB / 378.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2713, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.0044/0.2757, allocations: 2.809 MB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.277, allocations: 0.7089 MB / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2772, allocations: 7.938 kB / 435.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2773, allocations: 47.56 kB / 435.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.2775, allocations: 91.25 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.2778, allocations: 87.84 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.2782, allocations: 346.5 kB / 436.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2784, allocations: 60.89 kB / 436.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2786, allocations: 135.4 kB / 436.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2788, allocations: 155.4 kB / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.2789, allocations: 28 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.2789, allocations: 31.94 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.279, allocations: 63.77 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2791, allocations: 143.3 kB / 436.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.2795, allocations: 330.6 kB / 437 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2795, allocations: 0 / 437 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2795, allocations: 4 kB / 437 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2795, allocations: 0 / 437 MB, free: 1.648 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.001134/0.2807, allocations: 0.5545 MB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2807, allocations: 16.03 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.938e-05/0.2807, allocations: 4.625 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.2808, allocations: 62.72 kB / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.2809, allocations: 32.75 kB / 437.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.2813, allocations: 217.8 kB / 437.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2813, allocations: 20.8 kB / 437.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2813, allocations: 16.38 kB / 437.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.2819, allocations: 247.1 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2819, allocations: 0 / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2819, allocations: 12 kB / 438.2 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2819, allocations: 4 kB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.2825, allocations: 221.6 kB / 438.4 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2843, allocations: 0.8315 MB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.2848, allocations: 174.4 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.2851, allocations: 80.8 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2851, allocations: 4 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.2855, allocations: 154.7 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2855, allocations: 4 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001376/0.2869, allocations: 357.5 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.287, allocations: 132.5 kB / 440.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.2873, allocations: 273.8 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.2873, allocations: 33.7 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2875, allocations: 188.1 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.2875, allocations: 47.62 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.2876, allocations: 53.94 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.2879, allocations: 334.8 kB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.2882, allocations: 80.41 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.2885, allocations: 194.5 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.2891, allocations: 275.5 kB / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2891, allocations: 0 / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009218/0.29, allocations: 363.6 kB / 441.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.2901, allocations: 38.08 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.2901, allocations: 8 kB / 442 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.2904, allocations: 60.69 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2906, allocations: 47.95 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.2925, allocations: 1.469 MB / 443.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.2928, allocations: 55.73 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2929, allocations: 16 kB / 443.6 MB, free: 10.56 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.0001836/0.293, allocations: 149.8 kB / 443.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2931, allocations: 19.86 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.2931, allocations: 25.77 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2931, allocations: 0 / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2931, allocations: 0 / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2931, allocations: 4 kB / 443.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2943, allocations: 0.5722 MB / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2943, allocations: 0 / 444.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2944, allocations: 23.97 kB / 444.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.2946, allocations: 56.73 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.2947, allocations: 12 kB / 444.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.2964, allocations: 1.465 MB / 445.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2964, allocations: 0 / 445.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.2972, allocations: 340.1 kB / 446.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.2972, allocations: 27.84 kB / 446.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.2973, allocations: 0 / 446.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2975, allocations: 43.84 kB / 446.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.2976, allocations: 19.95 kB / 446.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2976, allocations: 4 kB / 446.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.2979, allocations: 197.2 kB / 446.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2979, allocations: 0 / 446.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000418/0.2983, allocations: 67.89 kB / 446.6 MB, free: 7.344 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.001262/0.2996, allocations: 0.8809 MB / 447.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009234/0.3005, allocations: 365.3 kB / 447.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3005, allocations: 0.75 kB / 447.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.3009, allocations: 210.5 kB / 448.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3013, allocations: 54.77 kB / 448.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.3065, allocations: 2.926 MB / 451 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3069, allocations: 0.7518 MB / 451.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.307, allocations: 22.3 kB / 451.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3072, allocations: 79.41 kB / 451.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3072, allocations: 0 / 451.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.3391, allocations: 6.536 MB / 458.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.88, allocations: 12.02 kB / 458.4 MB, free: 11.43 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.289047422003932] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.052929808036424 13.068972751 12.786220719 Calling exit ...