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.ParallelResonance.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.001678/0.001678, 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.001561/0.001561, 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",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.00198/0.00198, allocations: 68.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2724, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005727/0.2782, allocations: 3.754 MB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.2814, allocations: 1.515 MB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.2817, allocations: 8 kB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.2837, allocations: 0.7545 MB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2847, allocations: 405.1 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2859, allocations: 0.5502 MB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.2865, allocations: 466 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.2873, allocations: 434.9 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.2877, allocations: 231.1 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.288, allocations: 271 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.2881, allocations: 48 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.2885, allocations: 207.9 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.2886, allocations: 115.6 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2889, allocations: 234.8 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.2898, allocations: 0.7083 MB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2898, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2898, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2898, allocations: 0 / 441.6 MB, free: 13.2 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.00209/0.2919, allocations: 0.8525 MB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2919, allocations: 8.031 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.292, allocations: 99.91 kB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.2954, allocations: 472.2 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.2959, allocations: 249.9 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.2959, allocations: 41.69 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2961, allocations: 64.25 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2971, allocations: 0.5336 MB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2971, allocations: 4 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.2971, allocations: 27.94 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2972, allocations: 12 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2984, allocations: 0.579 MB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.3013, allocations: 1.735 MB / 446.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3028, allocations: 0.5584 MB / 446.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.3033, allocations: 230.1 kB / 447 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.174e-05/0.3034, allocations: 28.41 kB / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3034, allocations: 35 kB / 447.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.963e-06/0.3034, allocations: 0 / 447.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001765/0.3052, allocations: 0.6713 MB / 447.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3052, allocations: 55.84 kB / 447.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3054, allocations: 186.3 kB / 448 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.3054, allocations: 33.7 kB / 448 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3056, allocations: 225 kB / 448.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3058, allocations: 166.5 kB / 448.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.3059, allocations: 82.19 kB / 448.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3061, allocations: 342.8 kB / 448.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.3064, allocations: 156.9 kB / 449 MB, free: 5.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.3068, allocations: 233.9 kB / 449.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.3075, allocations: 424.9 kB / 449.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3075, allocations: 0 / 449.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001081/0.3086, allocations: 0.5397 MB / 450.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3086, allocations: 8 kB / 450.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3086, allocations: 0 / 450.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.3089, allocations: 80.81 kB / 450.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.3093, allocations: 103.9 kB / 450.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.3113, allocations: 1.674 MB / 452 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.3115, allocations: 47.72 kB / 452.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.3116, allocations: 16 kB / 452.1 MB, free: 2.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.3118, allocations: 165.7 kB / 452.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.3119, allocations: 31.91 kB / 452.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.313, allocations: 0.5355 MB / 452.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.313, allocations: 4 kB / 452.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.313, allocations: 7.938 kB / 452.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.313, allocations: 7.922 kB / 452.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3149, allocations: 1.112 MB / 453.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3149, allocations: 0 / 453.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.3152, allocations: 79.89 kB / 454 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.3155, allocations: 80.86 kB / 454.1 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.3155, allocations: 15.98 kB / 454.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.3173, allocations: 1.67 MB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3173, allocations: 0 / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3188, allocations: 0.8108 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3188, allocations: 27.77 kB / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3188, allocations: 12 kB / 456.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3191, allocations: 20.05 kB / 456.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.3192, allocations: 48.23 kB / 456.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3192, allocations: 12 kB / 456.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3193, allocations: 140.2 kB / 456.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3193, allocations: 0 / 456.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.3199, allocations: 147.7 kB / 457 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/0.3219, allocations: 1.386 MB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.323, allocations: 0.5464 MB / 458.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.323, allocations: 0 / 458.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.3236, allocations: 357.6 kB / 459.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.324, allocations: 35.92 kB / 459.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.3292, allocations: 3.456 MB / 462.8 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3297, allocations: 0.8045 MB / 463.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3299, allocations: 50.94 kB / 463.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3301, allocations: 143.3 kB / 463.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3301, allocations: 0 / 463.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.3697, allocations: 8.025 MB / 471.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 6.172 kB / 471.8 MB, free: 14.25 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_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_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.617496645078063] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.pin_p.reference.gamma'] 11.157972706016153 11.185998121 10.89084547 Calling exit ...