Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 47.92 kB / 371.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2346, allocations: 52.18 MB / 423.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00407/0.2387, allocations: 2.767 MB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2399, allocations: 0.6778 MB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.24, allocations: 7.938 kB / 426.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2402, allocations: 39.58 kB / 426.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.2404, allocations: 99.25 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2406, allocations: 91.81 kB / 427.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.2411, allocations: 350.5 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.2412, allocations: 65.61 kB / 427.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.2414, allocations: 131.5 kB / 427.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2416, allocations: 147.4 kB / 427.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.2417, allocations: 28 kB / 427.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.2417, allocations: 32 kB / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.2418, allocations: 63.7 kB / 427.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2419, allocations: 147.3 kB / 428.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.2423, allocations: 323.6 kB / 428.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2423, allocations: 0 / 428.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2423, allocations: 3.938 kB / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2423, allocations: 0 / 428.4 MB, free: 9.609 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.001212/0.2435, allocations: 0.5701 MB / 429 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2436, allocations: 12.03 kB / 429 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.2436, allocations: 4.625 kB / 429 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.2436, allocations: 54.73 kB / 429 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.2437, allocations: 28.75 kB / 429.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.2441, allocations: 226 kB / 429.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2441, allocations: 16.81 kB / 429.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.2442, allocations: 16.38 kB / 429.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.2448, allocations: 281.7 kB / 429.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2448, allocations: 4 kB / 429.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2449, allocations: 8 kB / 429.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2449, allocations: 11.98 kB / 429.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.2456, allocations: 237.6 kB / 429.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.2473, allocations: 0.864 MB / 430.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2488, allocations: 362.2 kB / 431.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.2491, allocations: 92.72 kB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2491, allocations: 0 / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.2496, allocations: 169.8 kB / 431.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2496, allocations: 0 / 431.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002021/0.2516, allocations: 0.4941 MB / 431.8 MB, free: 6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.2517, allocations: 102.8 kB / 431.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.252, allocations: 281.8 kB / 432.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.2521, allocations: 25.7 kB / 432.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2522, allocations: 192 kB / 432.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.2522, allocations: 31.73 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.2523, allocations: 53.66 kB / 432.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2525, allocations: 330.8 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2529, allocations: 99.91 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.2533, allocations: 209.5 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.254, allocations: 293.5 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.254, allocations: 0 / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001198/0.2552, allocations: 434.8 kB / 433.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.2552, allocations: 33.7 kB / 433.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2552, allocations: 4 kB / 433.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.2555, allocations: 60.88 kB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2558, allocations: 55.89 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.2581, allocations: 1.506 MB / 435.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.2584, allocations: 47.81 kB / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.2584, allocations: 19.92 kB / 435.5 MB, free: 1.969 MB / 334.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.0001788/0.2586, allocations: 145.1 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2586, allocations: 31.91 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.2587, allocations: 29.7 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2587, allocations: 0 / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2587, allocations: 0 / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2587, allocations: 0 / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.2601, allocations: 0.6113 MB / 436.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2601, allocations: 4 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2602, allocations: 23.97 kB / 436.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.2605, allocations: 52.83 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2605, allocations: 7.984 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.2625, allocations: 1.495 MB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2625, allocations: 4.031 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2635, allocations: 384 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2636, allocations: 31.78 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2636, allocations: 8 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.2639, allocations: 35.95 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.264, allocations: 15.92 kB / 438.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.264, allocations: 7.984 kB / 438.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.2642, allocations: 189.2 kB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2642, allocations: 4 kB / 438.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.2645, allocations: 59.95 kB / 438.7 MB, free: 14.66 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.00142/0.266, allocations: 0.9317 MB / 439.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009493/0.2669, allocations: 385.9 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2669, allocations: 0 / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2673, allocations: 207.2 kB / 440.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2677, allocations: 51.25 kB / 440.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.2729, allocations: 2.986 MB / 443.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.2734, allocations: 0.744 MB / 444 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.2735, allocations: 26.56 kB / 444 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2736, allocations: 71.42 kB / 444 MB, free: 9.012 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2736, allocations: 4 kB / 444.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3031, allocations: 6.252 MB / 450.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.42, allocations: 5.234 kB / 450.3 MB, free: 2.93 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.767855559010059] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.596917181974277 12.625265232 12.378068479 Calling exit ...