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.HighPass.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.001741/0.001741, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002033/0.002033, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.419/1.419, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.001938/0.001938, allocations: 71.83 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09723, allocations: 53.33 MB / 427.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004407/0.1016, allocations: 3.095 MB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.103, allocations: 0.8103 MB / 431 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1032, allocations: 8 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1033, allocations: 55.44 kB / 431 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1036, allocations: 119.1 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1039, allocations: 127.7 kB / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.1044, allocations: 454.2 kB / 431.7 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.189/0.2933, allocations: 96.67 kB / 431.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.2939, allocations: 175.8 kB / 432 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.2942, allocations: 197.1 kB / 432.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.2943, allocations: 44.66 kB / 432.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.2944, allocations: 44.78 kB / 432.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.2944, allocations: 86.36 kB / 432.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.2946, allocations: 196.7 kB / 432.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.2952, allocations: 0.4915 MB / 433 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2952, allocations: 1.5 kB / 433 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2952, allocations: 3.938 kB / 433 MB, free: 7.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2952, allocations: 0 / 433 MB, free: 7.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001274/0.2965, allocations: 0.7121 MB / 433.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2965, allocations: 9.938 kB / 433.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.2966, allocations: 62.61 kB / 433.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.2966, allocations: 41.86 kB / 433.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.297, allocations: 313.7 kB / 434.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.297, allocations: 24.19 kB / 434.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.2971, allocations: 27.59 kB / 434.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.2978, allocations: 352.2 kB / 434.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2978, allocations: 0 / 434.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2978, allocations: 11.91 kB / 434.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2979, allocations: 13.28 kB / 434.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.2986, allocations: 296.9 kB / 434.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.3006, allocations: 1.282 MB / 436.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.3014, allocations: 219 kB / 436.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.3017, allocations: 106.7 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3018, allocations: 5.609 kB / 436.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.3023, allocations: 193.8 kB / 436.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3023, allocations: 0 / 436.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002463/0.3047, allocations: 0.6846 MB / 437.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3048, allocations: 108.3 kB / 437.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3051, allocations: 294.8 kB / 437.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3051, allocations: 30.89 kB / 437.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3052, allocations: 212.6 kB / 438 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3053, allocations: 55.66 kB / 438 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.3054, allocations: 61.84 kB / 438.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.3055, allocations: 339.5 kB / 438.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.3058, allocations: 109.7 kB / 438.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3062, allocations: 208.6 kB / 438.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.3069, allocations: 325.8 kB / 439 MB, free: 4.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3069, allocations: 5.438 kB / 439.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001269/0.3082, allocations: 483.5 kB / 439.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.3082, allocations: 44.27 kB / 439.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3082, allocations: 3.234 kB / 439.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.3086, allocations: 81.81 kB / 439.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3089, allocations: 58.06 kB / 439.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.3112, allocations: 1.994 MB / 441.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.3115, allocations: 58.75 kB / 441.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3115, allocations: 9.469 kB / 441.8 MB, free: 2.738 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 (26): * Single equations (assignments): 24 * 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.0001426/0.3117, allocations: 163.9 kB / 441.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3117, allocations: 29.3 kB / 442 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.3118, allocations: 29.52 kB / 442 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3118, allocations: 5.188 kB / 442 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3118, allocations: 0.7969 kB / 442 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3118, allocations: 4.062 kB / 442 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3121, allocations: 338.9 kB / 442.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3121, allocations: 4.312 kB / 442.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.3123, allocations: 33.2 kB / 442.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.3125, allocations: 81.72 kB / 442.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3126, allocations: 1.703 kB / 442.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.3145, allocations: 1.817 MB / 444.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3145, allocations: 0 / 444.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.316, allocations: 0.491 MB / 444.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.316, allocations: 106.5 kB / 444.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.3161, allocations: 2.188 kB / 444.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3163, allocations: 39.27 kB / 444.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3164, allocations: 19.09 kB / 444.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3164, allocations: 10.45 kB / 444.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3166, allocations: 208.5 kB / 445.1 MB, free: 428 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3166, allocations: 0 / 445.1 MB, free: 428 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.317, allocations: 92.92 kB / 445.2 MB, free: 404 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (11): * Single equations (assignments): 8 * 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.001741/0.3188, allocations: 1.038 MB / 446.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3199, allocations: 440.7 kB / 446.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3199, allocations: 3.312 kB / 446.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.3204, allocations: 236.3 kB / 446.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3207, allocations: 47.14 kB / 447 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.3267, allocations: 3.336 MB / 450.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.3271, allocations: 0.7655 MB / 451.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.3272, allocations: 28.8 kB / 451.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3274, allocations: 93.72 kB / 451.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3274, allocations: 0 / 451.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.3791, allocations: 7.443 MB / 458.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 1.75 kB / 458.6 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_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_HighPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.345544407144189] Failed to read output from testmodel.py, exit status != 0: ['time', 'derivative.c.v', 'derivative.opAmp.out.v', 'derivative.opAmp.out.i'] 12.016908678691834 12.042181529 11.742165658 Calling exit ...