Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001241/0.001241, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001348/0.001348, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.435/1.435, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits",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.001933/0.001933, allocations: 75.81 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 53.31 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2127/0.3148, allocations: 5.42 MB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.3178, allocations: 1.52 MB / 434 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.3185, allocations: 39 kB / 434 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.3189, allocations: 219.3 kB / 434.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.3194, allocations: 194.6 kB / 434.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.3202, allocations: 418.6 kB / 434.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009161/0.3211, allocations: 1.124 MB / 436 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.3216, allocations: 332.5 kB / 436.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.3221, allocations: 420.4 kB / 436.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.3225, allocations: 433 kB / 437.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3227, allocations: 87.28 kB / 437.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3229, allocations: 104.6 kB / 437.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.323, allocations: 216 kB / 437.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.3234, allocations: 0.4933 MB / 438 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3247, allocations: 1.192 MB / 439.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3247, allocations: 0 / 439.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3247, allocations: 0 / 439.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.3247, allocations: 1.25 kB / 439.2 MB, free: 5.66 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001824/0.3265, allocations: 1.341 MB / 440.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3266, allocations: 14.41 kB / 440.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.3267, allocations: 155.5 kB / 440.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.3271, allocations: 150.8 kB / 440.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.328, allocations: 0.6694 MB / 441.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.3281, allocations: 78.78 kB / 441.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3282, allocations: 96.36 kB / 441.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.3297, allocations: 1.026 MB / 442.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.3297, allocations: 10.25 kB / 442.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.3298, allocations: 40.7 kB / 442.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.3298, allocations: 30.09 kB / 442.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3309, allocations: 0.5546 MB / 443.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.3356, allocations: 5.498 MB / 448.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.3363, allocations: 233.8 kB / 449.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.3366, allocations: 145.2 kB / 449.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.3367, allocations: 84.97 kB / 449.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3368, allocations: 41.62 kB / 449.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.3368, allocations: 7.938 kB / 449.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004235/0.341, allocations: 1.734 MB / 451.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.3411, allocations: 87.2 kB / 451.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.3419, allocations: 0.6393 MB / 451.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.342, allocations: 35.02 kB / 451.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.3424, allocations: 0.6146 MB / 452.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3425, allocations: 156 kB / 452.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.3427, allocations: 137.4 kB / 452.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3429, allocations: 384.8 kB / 453.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.3433, allocations: 157.1 kB / 453.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.3439, allocations: 0.4901 MB / 453.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.3449, allocations: 0.6998 MB / 454.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3449, allocations: 4.156 kB / 454.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001306/0.3462, allocations: 0.7143 MB / 455.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3462, allocations: 10.09 kB / 455.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.3462, allocations: 12.03 kB / 455.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.3463, allocations: 17.88 kB / 455.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.3469, allocations: 208.2 kB / 455.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/0.347, allocations: 22.22 kB / 455.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.3474, allocations: 32.94 kB / 455.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.3474, allocations: 36.67 kB / 455.5 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.3478, allocations: 230.3 kB / 455.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3479, allocations: 81.16 kB / 455.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.3481, allocations: 78.81 kB / 455.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3481, allocations: 7.938 kB / 455.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3481, allocations: 2 kB / 455.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3481, allocations: 5.438 kB / 455.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.3504, allocations: 1.316 MB / 457.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3504, allocations: 3.156 kB / 457.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.3509, allocations: 105.6 kB / 457.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.3509, allocations: 9.609 kB / 457.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3509, allocations: 13.53 kB / 457.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3509, allocations: 4.922 kB / 457.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3509, allocations: 5.312 kB / 457.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.352, allocations: 0.7003 MB / 458.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3521, allocations: 146.5 kB / 458.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.3522, allocations: 8.641 kB / 458.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.3525, allocations: 28.62 kB / 458.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.3526, allocations: 26.88 kB / 458.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.3526, allocations: 15.12 kB / 458.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005277/0.3531, allocations: 426.8 kB / 458.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3531, allocations: 0 / 458.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007642/0.3539, allocations: 137 kB / 458.8 MB, free: 8.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/0.3554, allocations: 1.261 MB / 460.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.3563, allocations: 413.2 kB / 460.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3563, allocations: 4 kB / 460.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3566, allocations: 147.6 kB / 460.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.3571, allocations: 73.36 kB / 460.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/0.3664, allocations: 6.151 MB / 466.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/0.3672, allocations: 1.004 MB / 467.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.3676, allocations: 96.11 kB / 468 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.3681, allocations: 392.7 kB / 468.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3681, allocations: 0 / 468.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.4089, allocations: 11.81 MB / 480.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.663/9.072, allocations: 8 kB / 480.2 MB, free: 9.785 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.552049353253096] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v', 'inductor2.i'] 9.150082326959819 9.17647248 8.846797171 Calling exit ...