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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.381/1.381, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB 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.001867/0.001867, allocations: 71.88 kB / 358.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2584, allocations: 50.55 MB / 409.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004392/0.2628, allocations: 2.745 MB / 411.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2643, allocations: 0.7089 MB / 412.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2645, allocations: 4 kB / 412.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2646, allocations: 43.56 kB / 412.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2648, allocations: 83.27 kB / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.2651, allocations: 95.81 kB / 412.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.2655, allocations: 358.5 kB / 413.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2657, allocations: 80.7 kB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.2659, allocations: 139.4 kB / 413.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2661, allocations: 139.4 kB / 413.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.2662, allocations: 28 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.2662, allocations: 28 kB / 413.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.2663, allocations: 67.69 kB / 413.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.2665, allocations: 143.3 kB / 413.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.2669, allocations: 329.7 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2669, allocations: 0 / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2669, allocations: 0 / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2669, allocations: 0 / 414.1 MB, free: 12.35 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.001282/0.2682, allocations: 0.6416 MB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2683, allocations: 8.031 kB / 414.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.2683, allocations: 54.73 kB / 414.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.2684, allocations: 32.75 kB / 414.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.2689, allocations: 279.6 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.2689, allocations: 20.81 kB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.2689, allocations: 16.38 kB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.2696, allocations: 277.9 kB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2696, allocations: 3.984 kB / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.2697, allocations: 12 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2697, allocations: 4 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.2704, allocations: 249.5 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.272, allocations: 0.8987 MB / 416.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.2736, allocations: 443.4 kB / 417 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.2739, allocations: 92.78 kB / 417.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2739, allocations: 4 kB / 417.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004728/0.2744, allocations: 173.8 kB / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.2744, allocations: 0 / 417.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002058/0.2765, allocations: 0.5732 MB / 417.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.2766, allocations: 110.7 kB / 417.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.2769, allocations: 270.7 kB / 418.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.277, allocations: 25.7 kB / 418.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2771, allocations: 196 kB / 418.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.2772, allocations: 31.73 kB / 418.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.2773, allocations: 53.66 kB / 418.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2774, allocations: 334.8 kB / 418.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.2778, allocations: 91.92 kB / 418.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.2782, allocations: 201.7 kB / 419.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.279, allocations: 301.4 kB / 419.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.279, allocations: 0 / 419.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00119/0.2802, allocations: 423.9 kB / 419.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.2802, allocations: 37.7 kB / 419.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2802, allocations: 4 kB / 419.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/0.2806, allocations: 60.88 kB / 419.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2808, allocations: 55.89 kB / 420 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.2832, allocations: 1.609 MB / 421.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2835, allocations: 63.88 kB / 421.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2836, allocations: 12 kB / 421.6 MB, free: 4.191 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.0001735/0.2837, allocations: 137.8 kB / 421.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.2838, allocations: 27.8 kB / 421.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.2838, allocations: 33.64 kB / 421.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2839, allocations: 4 kB / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2839, allocations: 0 / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2839, allocations: 0 / 421.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2853, allocations: 0.6396 MB / 422.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2853, allocations: 0 / 422.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2855, allocations: 31.91 kB / 422.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.2857, allocations: 56.81 kB / 422.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2857, allocations: 4 kB / 422.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.2879, allocations: 1.601 MB / 424.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2879, allocations: 0 / 424.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.2889, allocations: 388 kB / 424.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.2891, allocations: 101 kB / 424.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2891, allocations: 0 / 424.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.2894, allocations: 39.95 kB / 424.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.2895, allocations: 15.98 kB / 424.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2895, allocations: 4 kB / 424.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.2897, allocations: 190 kB / 424.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2897, allocations: 3.938 kB / 424.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.2901, allocations: 63.89 kB / 425 MB, free: 0.6133 MB / 334.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.001502/0.2917, allocations: 0.9318 MB / 425.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2927, allocations: 398.4 kB / 426.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2928, allocations: 0 / 426.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.2932, allocations: 202.6 kB / 426.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.2937, allocations: 64.69 kB / 426.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.299, allocations: 2.994 MB / 429.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2994, allocations: 0.7479 MB / 430.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.2995, allocations: 22.3 kB / 430.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2997, allocations: 79.34 kB / 430.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2997, allocations: 0 / 430.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3324, allocations: 6.078 MB / 436.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.83, allocations: 0 / 436.5 MB, free: 5.082 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)