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.00168/0.00168, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002106/0.002106, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.544/1.544, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.003184/0.003184, allocations: 75.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1228, allocations: 53.33 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005188/0.128, allocations: 3.735 MB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2346/0.3625, allocations: 1.484 MB / 432.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.3628, allocations: 9.281 kB / 432.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3645, allocations: 0.7639 MB / 433 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000911/0.3654, allocations: 389 kB / 433.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.3664, allocations: 0.5605 MB / 433.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.3668, allocations: 471.2 kB / 434.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.3673, allocations: 364 kB / 434.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.3677, allocations: 228 kB / 435 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.368, allocations: 277.2 kB / 435.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.3681, allocations: 43.91 kB / 435.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3685, allocations: 216 kB / 435.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3687, allocations: 109.2 kB / 435.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3689, allocations: 237.5 kB / 435.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.3698, allocations: 0.7031 MB / 436.5 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3698, allocations: 1.438 kB / 436.5 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3698, allocations: 0 / 436.5 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3699, allocations: 0 / 436.5 MB, free: 7 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.002247/0.3721, allocations: 0.9246 MB / 437.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3721, allocations: 8.688 kB / 437.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.3723, allocations: 105.3 kB / 437.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.3759, allocations: 467.6 kB / 438 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/0.3765, allocations: 307.4 kB / 438.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.3765, allocations: 43.5 kB / 438.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.3766, allocations: 54.86 kB / 438.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3778, allocations: 0.5379 MB / 439 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.3778, allocations: 9.234 kB / 439 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.3779, allocations: 29.25 kB / 439 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.3779, allocations: 12.66 kB / 439 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.379, allocations: 0.5783 MB / 439.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.3822, allocations: 1.966 MB / 441.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.384, allocations: 2.12 MB / 443.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.3846, allocations: 236.1 kB / 443.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.3847, allocations: 173 kB / 444.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3847, allocations: 38.09 kB / 444.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.045e-06/0.3847, allocations: 0 / 444.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00187/0.3866, allocations: 0.7504 MB / 444.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.3866, allocations: 56.38 kB / 444.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3868, allocations: 188.8 kB / 445.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3868, allocations: 30.92 kB / 445.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.387, allocations: 226.3 kB / 445.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.3871, allocations: 170.3 kB / 445.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3872, allocations: 82.8 kB / 445.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.3873, allocations: 344.1 kB / 445.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.3876, allocations: 152.8 kB / 446.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3879, allocations: 235.8 kB / 446.3 MB, free: 416 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.3886, allocations: 421.4 kB / 446.7 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3886, allocations: 2 kB / 446.7 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001122/0.3897, allocations: 0.5399 MB / 447.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3898, allocations: 7.531 kB / 447.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3898, allocations: 2.562 kB / 447.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.3901, allocations: 79.25 kB / 447.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.3906, allocations: 100.4 kB / 447.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.3927, allocations: 1.778 MB / 449.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.393, allocations: 48.55 kB / 449.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.393, allocations: 19.97 kB / 449.3 MB, free: 14.25 MB / 366.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.0002458/0.3933, allocations: 165.6 kB / 449.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.3934, allocations: 28.19 kB / 449.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.3946, allocations: 0.5403 MB / 450 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3946, allocations: 4.781 kB / 450 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3946, allocations: 3 kB / 450 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3946, allocations: 6.656 kB / 450.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3966, allocations: 1.145 MB / 451.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3966, allocations: 5.125 kB / 451.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.397, allocations: 75.34 kB / 451.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.3973, allocations: 90.56 kB / 451.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.3973, allocations: 8.031 kB / 451.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.3992, allocations: 1.768 MB / 453.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3992, allocations: 5.688 kB / 453.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.4008, allocations: 0.8064 MB / 454 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4009, allocations: 107.1 kB / 454.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.4009, allocations: 16.41 kB / 454.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.4012, allocations: 14.69 kB / 454.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4013, allocations: 42.09 kB / 454.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.4013, allocations: 16.61 kB / 454.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.4015, allocations: 139.5 kB / 454.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4015, allocations: 0 / 454.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.4022, allocations: 151.8 kB / 454.4 MB, free: 10.81 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.002048/0.4042, allocations: 1.39 MB / 455.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.4055, allocations: 0.5445 MB / 456.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4055, allocations: 1.094 kB / 456.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006385/0.4062, allocations: 364.9 kB / 456.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4066, allocations: 28.66 kB / 456.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.4125, allocations: 3.437 MB / 460.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.413, allocations: 0.8109 MB / 461 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.4132, allocations: 48.53 kB / 461 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.4134, allocations: 139.8 kB / 461.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4134, allocations: 0 / 461.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.4592, allocations: 7.756 MB / 468.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.88, allocations: 7.328 kB / 468.9 MB, free: 3.195 MB / 366.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.546860571950674] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.pin_p.reference.gamma'] 10.967438466846943 10.986810086 10.612967412 Calling exit ...