Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001359/0.001359, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002121/0.002121, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",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.001982/0.001982, allocations: 68.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005432/0.2979, allocations: 3.743 MB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.3007, allocations: 1.518 MB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.301, allocations: 8 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.303, allocations: 0.7545 MB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.3041, allocations: 397.5 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3052, allocations: 0.5561 MB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006003/0.3058, allocations: 453.9 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006116/0.3064, allocations: 365.8 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.3068, allocations: 223.1 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.3071, allocations: 259 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.3072, allocations: 44 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.3077, allocations: 215.8 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.3078, allocations: 103.6 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.308, allocations: 234.8 kB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009202/0.3089, allocations: 0.6821 MB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3089, allocations: 4 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3089, allocations: 0 / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3089, allocations: 0 / 441.4 MB, free: 13.32 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002147/0.3111, allocations: 0.8446 MB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3111, allocations: 12.02 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.3113, allocations: 107.9 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003379/0.3146, allocations: 468.2 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.3152, allocations: 245.9 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3152, allocations: 45.61 kB / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.3153, allocations: 56.33 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3163, allocations: 0.5257 MB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.3163, allocations: 4 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.3164, allocations: 24 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.3164, allocations: 12 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3175, allocations: 0.5751 MB / 444.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.3205, allocations: 1.718 MB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.3221, allocations: 0.5829 MB / 446.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3224, allocations: 182.1 kB / 446.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3226, allocations: 28.39 kB / 446.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3226, allocations: 39 kB / 446.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.3226, allocations: 0 / 446.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001961/0.3246, allocations: 0.7064 MB / 447.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3246, allocations: 59.84 kB / 447.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3248, allocations: 190.2 kB / 447.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.3249, allocations: 33.7 kB / 447.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.325, allocations: 229 kB / 448.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3252, allocations: 166.5 kB / 448.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3253, allocations: 90.17 kB / 448.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3255, allocations: 330.8 kB / 448.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3258, allocations: 148.9 kB / 448.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.3262, allocations: 232.2 kB / 449 MB, free: 5.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.3268, allocations: 399.4 kB / 449.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3268, allocations: 0 / 449.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.3279, allocations: 0.5355 MB / 450 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.328, allocations: 8 kB / 450 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.328, allocations: 0 / 450 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.3283, allocations: 97.02 kB / 450.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.3287, allocations: 91.83 kB / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.331, allocations: 1.938 MB / 452.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.3313, allocations: 47.73 kB / 452.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.3313, allocations: 27.92 kB / 452.2 MB, free: 2.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.3316, allocations: 161.7 kB / 452.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.3317, allocations: 35.8 kB / 452.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.3329, allocations: 0.5278 MB / 452.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3329, allocations: 12 kB / 452.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3329, allocations: 7.875 kB / 452.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3329, allocations: 7.922 kB / 452.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.3347, allocations: 1.095 MB / 454 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3347, allocations: 4 kB / 454 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.335, allocations: 75.89 kB / 454.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.3353, allocations: 88.73 kB / 454.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3353, allocations: 8 kB / 454.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.3375, allocations: 1.946 MB / 456.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3375, allocations: 0 / 456.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3389, allocations: 0.801 MB / 456.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.339, allocations: 31.75 kB / 457 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.339, allocations: 12 kB / 457 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3392, allocations: 15.98 kB / 457 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.3393, allocations: 36.38 kB / 457 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.3393, allocations: 11.98 kB / 457 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3395, allocations: 140.3 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3395, allocations: 0 / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.3401, allocations: 147.7 kB / 457.3 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/0.3421, allocations: 1.384 MB / 458.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3432, allocations: 0.535 MB / 459.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3432, allocations: 4.062 kB / 459.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.3438, allocations: 356.9 kB / 459.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3442, allocations: 30.05 kB / 459.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.3493, allocations: 3.421 MB / 463 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.3498, allocations: 0.8045 MB / 463.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.35, allocations: 46.95 kB / 463.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3502, allocations: 139.4 kB / 464 MB, free: 5.914 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3502, allocations: 0 / 464 MB, free: 5.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.3932, allocations: 8.059 MB / 472.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.96, allocations: 11.03 kB / 472.1 MB, free: 13.97 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_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_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.494361412711442] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.pin_p.reference.gamma'] 11.04714689636603 11.067072147 10.75421265 Calling exit ...