Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2745, allocations: 53.37 MB / 432 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004479/0.279, allocations: 2.79 MB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2804, allocations: 0.7128 MB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2805, allocations: 4 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.2807, allocations: 43.56 kB / 435.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.2809, allocations: 99.25 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2812, allocations: 95.83 kB / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.2816, allocations: 350.5 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2818, allocations: 56.91 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2819, allocations: 135.5 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2822, allocations: 147.4 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.2822, allocations: 35.94 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.2822, allocations: 28 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.2823, allocations: 67.7 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2825, allocations: 143.3 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.2829, allocations: 327.5 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2829, allocations: 0 / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2829, allocations: 0 / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2829, allocations: 0 / 437 MB, free: 1.832 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.001226/0.2841, allocations: 0.5663 MB / 437.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2841, allocations: 8.031 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.235e-05/0.2842, allocations: 8.609 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.2842, allocations: 54.73 kB / 437.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.2843, allocations: 36.75 kB / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2847, allocations: 213.8 kB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2847, allocations: 16.81 kB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.2847, allocations: 24.31 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.2854, allocations: 277.7 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2854, allocations: 0 / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.2854, allocations: 15.98 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2854, allocations: 4 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.2862, allocations: 241.6 kB / 438.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.2878, allocations: 0.8717 MB / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2893, allocations: 358.2 kB / 439.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.2896, allocations: 88.78 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2896, allocations: 4 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.2901, allocations: 169.8 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2901, allocations: 4 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002044/0.2921, allocations: 0.4904 MB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.2922, allocations: 110.9 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2925, allocations: 273.8 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2925, allocations: 25.7 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.2927, allocations: 195.9 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.2927, allocations: 35.72 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.2928, allocations: 53.66 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.293, allocations: 334.8 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.2933, allocations: 95.92 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.2937, allocations: 205.5 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.2944, allocations: 300.4 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2944, allocations: 0 / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001232/0.2957, allocations: 431.9 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.2957, allocations: 33.77 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2957, allocations: 4 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.296, allocations: 56.81 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2963, allocations: 55.89 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.2985, allocations: 1.514 MB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2988, allocations: 47.84 kB / 444.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.2988, allocations: 12 kB / 444.1 MB, free: 10.2 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.0001678/0.299, allocations: 152.8 kB / 444.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.2991, allocations: 19.86 kB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.2991, allocations: 29.7 kB / 444.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2991, allocations: 3.938 kB / 444.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2991, allocations: 0 / 444.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2991, allocations: 0 / 444.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.3005, allocations: 0.6152 MB / 444.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3005, allocations: 0 / 444.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3007, allocations: 27.97 kB / 445 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.3009, allocations: 60.81 kB / 445 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3009, allocations: 96 / 445 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.303, allocations: 1.502 MB / 446.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.303, allocations: 4 kB / 446.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.304, allocations: 396 kB / 446.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.3041, allocations: 27.78 kB / 446.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.3041, allocations: 12 kB / 446.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3044, allocations: 27.97 kB / 447 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.3044, allocations: 15.97 kB / 447 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3045, allocations: 8 kB / 447 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3047, allocations: 193.2 kB / 447.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3047, allocations: 0 / 447.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.305, allocations: 59.95 kB / 447.2 MB, free: 6.863 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.001407/0.3064, allocations: 0.9277 MB / 448.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3075, allocations: 385.9 kB / 448.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3075, allocations: 0 / 448.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.3079, allocations: 199.3 kB / 448.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3083, allocations: 48.72 kB / 448.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.3136, allocations: 3.002 MB / 451.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.314, allocations: 0.744 MB / 452.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3141, allocations: 22.3 kB / 452.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3142, allocations: 75.41 kB / 452.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3142, allocations: 0 / 452.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.346, allocations: 6.266 MB / 458.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.7, allocations: 12.05 kB / 458.9 MB, free: 11.12 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.04730890499195] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.876292680040933 12.900255088 12.614194594 Calling exit ...