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.001386/0.001386, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.00134/0.00134, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.432/1.432, allocations: 230.5 MB / 254.7 MB, free: 15 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.001859/0.001859, allocations: 63.89 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1063, allocations: 53.31 MB / 426.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004055/0.1104, allocations: 2.768 MB / 429.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1116, allocations: 0.7206 MB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1118, allocations: 4 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1119, allocations: 43.52 kB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1121, allocations: 95.25 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1124, allocations: 91.83 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1128, allocations: 358.5 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1129, allocations: 52.72 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1131, allocations: 135.5 kB / 431.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1133, allocations: 147.4 kB / 431.3 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.1133, allocations: 28 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.1134, allocations: 32 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.1134, allocations: 59.77 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.1136, allocations: 147.2 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2009/0.3145, allocations: 316.2 kB / 431.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3145, allocations: 0.7188 kB / 431.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3145, allocations: 0 / 431.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3145, allocations: 0.7812 kB / 431.9 MB, free: 8.305 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001207/0.3157, allocations: 0.6473 MB / 432.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3158, allocations: 9.25 kB / 432.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.3159, allocations: 52.53 kB / 432.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3159, allocations: 32 kB / 432.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.3163, allocations: 283.5 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3163, allocations: 12.5 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.3164, allocations: 22.12 kB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.3169, allocations: 279.5 kB / 433.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.317, allocations: 1.438 kB / 433.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.317, allocations: 9.125 kB / 433.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.317, allocations: 8.438 kB / 433.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.3177, allocations: 240.8 kB / 433.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.319, allocations: 0.9012 MB / 434.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.3203, allocations: 434.5 kB / 434.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3206, allocations: 91.03 kB / 434.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3206, allocations: 4.312 kB / 434.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.321, allocations: 168.3 kB / 435 MB, free: 6.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.321, allocations: 0 / 435 MB, free: 6.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001894/0.3229, allocations: 0.5732 MB / 435.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.323, allocations: 110.2 kB / 435.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3233, allocations: 268.9 kB / 436 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3233, allocations: 34.3 kB / 436 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.3234, allocations: 192.3 kB / 436.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3234, allocations: 34.86 kB / 436.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.3235, allocations: 47.05 kB / 436.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.3235, allocations: 338.1 kB / 436.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.3239, allocations: 95.48 kB / 436.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3242, allocations: 202.6 kB / 436.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.3248, allocations: 296 kB / 437.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3248, allocations: 0.9062 kB / 437.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001136/0.3259, allocations: 432.4 kB / 437.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.326, allocations: 38.05 kB / 437.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.326, allocations: 3.125 kB / 437.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.3263, allocations: 61.61 kB / 437.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3265, allocations: 57.75 kB / 437.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.3283, allocations: 1.601 MB / 439.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3287, allocations: 55.14 kB / 439.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3287, allocations: 12.67 kB / 439.4 MB, free: 4.125 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.0001443/0.3289, allocations: 139.3 kB / 439.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3289, allocations: 31.42 kB / 439.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.3289, allocations: 26.81 kB / 439.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3289, allocations: 1.312 kB / 439.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3289, allocations: 0.5156 kB / 439.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3289, allocations: 5.016 kB / 439.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.3302, allocations: 0.6414 MB / 440.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3302, allocations: 5.172 kB / 440.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3303, allocations: 27.2 kB / 440.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.3305, allocations: 55.34 kB / 440.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3306, allocations: 4.453 kB / 440.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.3321, allocations: 1.597 MB / 442 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3321, allocations: 0 / 442 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.3331, allocations: 401 kB / 442.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.3331, allocations: 100.6 kB / 442.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.3332, allocations: 3.453 kB / 442.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.3335, allocations: 32.53 kB / 442.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.3335, allocations: 15.12 kB / 442.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3335, allocations: 2.75 kB / 442.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.3337, allocations: 191.8 kB / 442.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 4 kB / 442.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.3341, allocations: 67.3 kB / 442.8 MB, free: 1.93 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.001119/0.3352, allocations: 0.9266 MB / 443.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008803/0.3361, allocations: 384.5 kB / 444.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3361, allocations: 1.438 kB / 444.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.3365, allocations: 203.1 kB / 444.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3369, allocations: 51.38 kB / 444.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.3418, allocations: 3.012 MB / 447.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3423, allocations: 0.7404 MB / 448.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.3424, allocations: 26.48 kB / 448.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3425, allocations: 74.58 kB / 448.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 1.382e-06/0.3425, allocations: 4 kB / 448.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.3839, allocations: 6.1 MB / 454.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 12.64 kB / 454.3 MB, free: 13.28 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.08421243308112] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.876615753863007 11.890947429 11.573432968 Calling exit ...