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.InvertingAmplifier.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.001911/0.001911, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002427/0.002427, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",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.001909/0.001909, allocations: 60.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2683, allocations: 53.38 MB / 432 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004485/0.2728, allocations: 2.975 MB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2743, allocations: 0.7713 MB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2745, allocations: 8 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2746, allocations: 47.5 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.2748, allocations: 111.2 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2752, allocations: 111.8 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.2756, allocations: 418.4 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2758, allocations: 91.67 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.276, allocations: 163.4 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2763, allocations: 179.2 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2763, allocations: 43.94 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.2764, allocations: 40 kB / 436.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.2764, allocations: 75.7 kB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.2766, allocations: 175.2 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.2771, allocations: 455.1 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2771, allocations: 0 / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2771, allocations: 0 / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2771, allocations: 0 / 437.6 MB, free: 1.238 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001262/0.2784, allocations: 0.6092 MB / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2784, allocations: 11.97 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.2785, allocations: 62.73 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.2786, allocations: 40.7 kB / 438.3 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.279, allocations: 249.8 kB / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.279, allocations: 20.88 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.2791, allocations: 24.38 kB / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.2798, allocations: 326.9 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2798, allocations: 0 / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2798, allocations: 12 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2798, allocations: 4 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.2806, allocations: 293.7 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.2825, allocations: 1.108 MB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.2832, allocations: 238.6 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.2836, allocations: 96.78 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2836, allocations: 4 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.284, allocations: 181.8 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.284, allocations: 0 / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002141/0.2862, allocations: 0.5877 MB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.2863, allocations: 110.8 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2866, allocations: 281.8 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2866, allocations: 29.7 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2868, allocations: 200 kB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.2868, allocations: 47.84 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.2869, allocations: 45.94 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.287, allocations: 342.8 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2874, allocations: 104.4 kB / 442.6 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.2878, allocations: 208.8 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.2885, allocations: 303.8 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2885, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001171/0.2896, allocations: 474.3 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.2897, allocations: 33.7 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2897, allocations: 7.984 kB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003643/0.29, allocations: 84.88 kB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2902, allocations: 51.83 kB / 443.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.2929, allocations: 1.898 MB / 445.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.2932, allocations: 51.84 kB / 445.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2932, allocations: 11.94 kB / 445.7 MB, free: 8.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.2934, allocations: 157.8 kB / 445.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2934, allocations: 23.86 kB / 445.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2935, allocations: 29.77 kB / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2935, allocations: 0 / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2935, allocations: 0 / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2935, allocations: 0 / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.2938, allocations: 300.4 kB / 446.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2938, allocations: 0 / 446.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.294, allocations: 27.97 kB / 446.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.2942, allocations: 80.73 kB / 446.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2943, allocations: 8 kB / 446.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.2965, allocations: 1.705 MB / 448 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2965, allocations: 0 / 448 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.2975, allocations: 368.2 kB / 448.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.2976, allocations: 27.8 kB / 448.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.2976, allocations: 12 kB / 448.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2979, allocations: 31.95 kB / 448.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.2979, allocations: 15.97 kB / 448.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2979, allocations: 11.94 kB / 448.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.2982, allocations: 197.2 kB / 448.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2982, allocations: 4 kB / 448.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.2985, allocations: 79.89 kB / 448.7 MB, free: 5.43 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.2999, allocations: 0.898 MB / 449.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3009, allocations: 432.9 kB / 450 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3009, allocations: 0 / 450 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.3014, allocations: 238.5 kB / 450.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3017, allocations: 60.47 kB / 450.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.3068, allocations: 3.105 MB / 453.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3072, allocations: 0.7522 MB / 454.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3073, allocations: 26.28 kB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3075, allocations: 83.41 kB / 454.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3075, allocations: 0 / 454.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.342, allocations: 7.069 MB / 461.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.13, allocations: 9.031 kB / 461.4 MB, free: 8.695 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_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_InvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.581139896064997] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 12.229999533854425 12.259011287 11.975974686 Calling exit ...