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.Multivibrator.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.Multivibrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 206 kB / 18.74 MB, free: 4.312 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.409/1.409, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.002698/0.002698, allocations: 67.88 kB / 358.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2723, allocations: 50.55 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003764/0.2761, allocations: 2.612 MB / 411.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2775, allocations: 0.6973 MB / 412.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.2777, allocations: 7.938 kB / 412.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2779, allocations: 39.64 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.2782, allocations: 79.27 kB / 412.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2784, allocations: 87.83 kB / 412.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.2788, allocations: 318.6 kB / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.279, allocations: 88.94 kB / 413 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2791, allocations: 111.6 kB / 413.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2793, allocations: 123.5 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.2794, allocations: 24 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.2794, allocations: 28 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.2795, allocations: 55.83 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2796, allocations: 143.2 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.28, allocations: 285.9 kB / 413.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.28, allocations: 0 / 413.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.28, allocations: 0 / 413.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.28, allocations: 0 / 413.8 MB, free: 12.67 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009726/0.281, allocations: 0.5613 MB / 414.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2811, allocations: 12.03 kB / 414.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.2811, allocations: 58.72 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.2812, allocations: 28.75 kB / 414.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.2816, allocations: 263.9 kB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2816, allocations: 20.94 kB / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2817, allocations: 20.38 kB / 414.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.2822, allocations: 229 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2822, allocations: 0 / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.2822, allocations: 12 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2822, allocations: 4 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.2827, allocations: 190.2 kB / 415.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2842, allocations: 0.9008 MB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.2849, allocations: 218.6 kB / 416.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2852, allocations: 132.6 kB / 416.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2853, allocations: 8 kB / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2853, allocations: 38.56 kB / 416.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2853, allocations: 0 / 416.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001875/0.2872, allocations: 0.553 MB / 417 MB, free: 9.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2873, allocations: 59.34 kB / 417.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2875, allocations: 235 kB / 417.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2875, allocations: 25.7 kB / 417.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2877, allocations: 172.1 kB / 417.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.2877, allocations: 51.55 kB / 417.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.2878, allocations: 45.7 kB / 417.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2879, allocations: 326.8 kB / 417.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.2881, allocations: 68.83 kB / 418 MB, free: 8.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2883, allocations: 114 kB / 418.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.2887, allocations: 177.8 kB / 418.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2887, allocations: 0 / 418.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008937/0.2896, allocations: 350.1 kB / 418.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2897, allocations: 8 kB / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2897, allocations: 0 / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.2901, allocations: 80.83 kB / 418.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2902, allocations: 39.92 kB / 418.7 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2933, allocations: 2.009 MB / 420.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2935, allocations: 27.91 kB / 420.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.2935, allocations: 12 kB / 420.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001635/0.2937, allocations: 145.1 kB / 420.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001168/0.2938, allocations: 98.36 kB / 421 MB, free: 4.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002058/0.294, allocations: 164.3 kB / 421.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.294, allocations: 0 / 421.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003482/0.2944, allocations: 213.5 kB / 421.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2944, allocations: 8 kB / 421.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2944, allocations: 12.11 kB / 421.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.186e-05/0.2945, allocations: 28.83 kB / 421.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2947, allocations: 39.98 kB / 421.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.2957, allocations: 1.414 MB / 422.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2959, allocations: 15.89 kB / 422.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2959, allocations: 8 kB / 422.9 MB, free: 2.883 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.296, allocations: 196.1 kB / 423.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2961, allocations: 19.86 kB / 423.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.2961, allocations: 37.45 kB / 423.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2961, allocations: 4 kB / 423.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2962, allocations: 0 / 423.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2962, allocations: 0 / 423.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2973, allocations: 0.6203 MB / 423.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2973, allocations: 0 / 423.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2975, allocations: 27.92 kB / 423.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.2977, allocations: 76.8 kB / 423.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2978, allocations: 4 kB / 423.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.3003, allocations: 1.921 MB / 425.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3004, allocations: 8.047 kB / 425.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.3014, allocations: 439.4 kB / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.3015, allocations: 100.9 kB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3015, allocations: 4 kB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3017, allocations: 20.05 kB / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3018, allocations: 15.98 kB / 426.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3018, allocations: 0 / 426.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.302, allocations: 160.6 kB / 426.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.302, allocations: 0 / 426.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3025, allocations: 123.7 kB / 426.7 MB, free: 14.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.3038, allocations: 0.9718 MB / 427.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.305, allocations: 0.5405 MB / 428.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.305, allocations: 0 / 428.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.3053, allocations: 206.5 kB / 428.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3057, allocations: 48.47 kB / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3099, allocations: 2.636 MB / 431 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3103, allocations: 0.7401 MB / 431.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3104, allocations: 21.95 kB / 431.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3105, allocations: 67.41 kB / 431.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3105, allocations: 0 / 431.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3446, allocations: 5.456 MB / 437.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.08, allocations: 10.78 kB / 437.3 MB, free: 4.199 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_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_Multivibrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)