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.SignalGenerator.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.001724/0.001724, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002527/0.002527, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.001906/0.001906, allocations: 64.77 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 53.38 MB / 432 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004289/0.2855, allocations: 2.981 MB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.287, allocations: 0.7752 MB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2872, allocations: 7.938 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.2874, allocations: 59.42 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.2876, allocations: 107.1 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.2879, allocations: 111.8 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.2884, allocations: 414.2 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.2886, allocations: 103.7 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2888, allocations: 151.5 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.289, allocations: 175.2 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.289, allocations: 32 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.2891, allocations: 32 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.2892, allocations: 67.77 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2893, allocations: 179.1 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.2898, allocations: 379.2 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2898, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2898, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2898, allocations: 0 / 437.5 MB, free: 1.293 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001071/0.2908, allocations: 0.5754 MB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2909, allocations: 11.97 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.581e-05/0.291, allocations: 70.72 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.291, allocations: 32.75 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.2915, allocations: 225.9 kB / 438.4 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.2915, allocations: 25.03 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.2915, allocations: 28.38 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.2922, allocations: 353.2 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2922, allocations: 0 / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.2923, allocations: 12 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2923, allocations: 8 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.293, allocations: 286.4 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.2949, allocations: 1.143 MB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.2958, allocations: 274.8 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.2963, allocations: 180.6 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2963, allocations: 4 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.2964, allocations: 38.55 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.2964, allocations: 0 / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002547/0.2989, allocations: 0.6938 MB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.299, allocations: 55.41 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.2993, allocations: 269.9 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2993, allocations: 25.7 kB / 441.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2995, allocations: 220.3 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.2996, allocations: 67.42 kB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.2997, allocations: 57.66 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2999, allocations: 338.8 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.3001, allocations: 108.7 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.3004, allocations: 197.2 kB / 442.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.301, allocations: 296.6 kB / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.301, allocations: 0 / 443 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001393/0.3024, allocations: 0.5335 MB / 443.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3024, allocations: 4 kB / 443.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3024, allocations: 4 kB / 443.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.303, allocations: 145.7 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3032, allocations: 51.92 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.3086, allocations: 3.505 MB / 447.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.3089, allocations: 55.66 kB / 447.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3089, allocations: 12.06 kB / 447.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003054/0.3092, allocations: 180.1 kB / 447.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002592/0.3095, allocations: 175.9 kB / 447.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000466/0.3099, allocations: 271.7 kB / 447.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.3099, allocations: 0 / 447.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009267/0.3109, allocations: 417.7 kB / 448.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3109, allocations: 4 kB / 448.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3109, allocations: 4 kB / 448.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.3112, allocations: 85.75 kB / 448.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3114, allocations: 63.91 kB / 448.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.3146, allocations: 2.796 MB / 451.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3148, allocations: 27.88 kB / 451.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3148, allocations: 16 kB / 451.3 MB, free: 2.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.315, allocations: 208.1 kB / 451.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.315, allocations: 35.81 kB / 451.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.12e-05/0.3151, allocations: 30.11 kB / 451.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3151, allocations: 4 kB / 451.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3151, allocations: 0 / 451.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3151, allocations: 0 / 451.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.3168, allocations: 0.7859 MB / 452.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3168, allocations: 4 kB / 452.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3169, allocations: 27.92 kB / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.3174, allocations: 137.6 kB / 452.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3174, allocations: 4 kB / 452.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.3217, allocations: 3.211 MB / 455.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3217, allocations: 4 kB / 455.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3232, allocations: 0.6099 MB / 456.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3232, allocations: 23.83 kB / 456.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3232, allocations: 4 kB / 456.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3235, allocations: 32.03 kB / 456.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.3235, allocations: 19.97 kB / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3236, allocations: 11.94 kB / 456.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.3238, allocations: 189.2 kB / 456.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 456.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006757/0.3244, allocations: 163.7 kB / 456.8 MB, free: 12.73 MB / 366.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001926/0.3264, allocations: 1.15 MB / 458 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.3281, allocations: 0.8779 MB / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3281, allocations: 0 / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.3286, allocations: 346.1 kB / 459.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3291, allocations: 53.25 kB / 459.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.335, allocations: 3.361 MB / 462.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3355, allocations: 0.7687 MB / 463.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3356, allocations: 34.97 kB / 463.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3358, allocations: 83.41 kB / 463.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3358, allocations: 0 / 463.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.3829, allocations: 8.092 MB / 471.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.8, allocations: 7.625 kB / 471.6 MB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_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_SignalGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.413970046211034] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp1.out.v', 'opAmp1.out.i', 'opAmp2.out.v', 'opAmp2.out.i'] 12.906036434229463 12.930955103 12.636428035 Calling exit ...