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.001648/0.001648, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001929/0.001929, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.573/1.573, 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.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.001963/0.001963, allocations: 71.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1168, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005316/0.1221, allocations: 3.729 MB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.22/0.3421, allocations: 1.499 MB / 432.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000579/0.3427, allocations: 10.28 kB / 432.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.3448, allocations: 0.7595 MB / 433 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3461, allocations: 387.9 kB / 433.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3473, allocations: 0.5594 MB / 433.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007468/0.3481, allocations: 463 kB / 434.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.3487, allocations: 292.7 kB / 434.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.3492, allocations: 217.5 kB / 434.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.3497, allocations: 266.8 kB / 435.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3498, allocations: 41 kB / 435.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.3504, allocations: 211.7 kB / 435.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3505, allocations: 108.2 kB / 435.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.3508, allocations: 230.2 kB / 435.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.352, allocations: 0.6909 MB / 436.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.352, allocations: 1.875 kB / 436.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.352, allocations: 3.719 kB / 436.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.352, allocations: 1.219 kB / 436.4 MB, free: 7.012 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.002079/0.3541, allocations: 0.9097 MB / 437.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3542, allocations: 12.41 kB / 437.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.3543, allocations: 107.6 kB / 437.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.3578, allocations: 467.2 kB / 437.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.3583, allocations: 301.5 kB / 438.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.3583, allocations: 47.19 kB / 438.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.3584, allocations: 56.58 kB / 438.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3595, allocations: 0.5212 MB / 438.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3596, allocations: 0 / 438.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.3596, allocations: 22.02 kB / 438.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3596, allocations: 13.59 kB / 438.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3607, allocations: 0.5744 MB / 439.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.3636, allocations: 1.964 MB / 441.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3654, allocations: 2.135 MB / 443.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.3659, allocations: 188.9 kB / 443.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.366, allocations: 181.8 kB / 443.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3661, allocations: 44.06 kB / 443.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/0.3661, allocations: 0.8438 kB / 443.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.003089/0.3692, allocations: 0.7881 MB / 444.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3692, allocations: 58.14 kB / 444.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3695, allocations: 192.4 kB / 445 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3695, allocations: 35.05 kB / 445 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3696, allocations: 222.7 kB / 445.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3698, allocations: 166.2 kB / 445.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3699, allocations: 85.58 kB / 445.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.37, allocations: 343.8 kB / 445.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.3705, allocations: 148.9 kB / 445.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.371, allocations: 222.5 kB / 446.2 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.372, allocations: 407.7 kB / 446.6 MB, free: 240 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.372, allocations: 0 / 446.6 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001575/0.3736, allocations: 0.5336 MB / 447.1 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3736, allocations: 5.891 kB / 447.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3736, allocations: 2.578 kB / 447.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/0.3742, allocations: 95.25 kB / 447.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.3748, allocations: 92.16 kB / 447.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.3784, allocations: 2.039 MB / 449.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.3788, allocations: 50.09 kB / 449.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.3789, allocations: 20.97 kB / 449.4 MB, free: 14.12 MB / 366.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.0003621/0.3792, allocations: 169.5 kB / 449.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3794, allocations: 29.22 kB / 449.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.3812, allocations: 0.5429 MB / 450.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3812, allocations: 6.5 kB / 450.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3812, allocations: 2.25 kB / 450.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3813, allocations: 3.094 kB / 450.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.3842, allocations: 1.134 MB / 451.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3842, allocations: 2.141 kB / 451.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.3847, allocations: 72.42 kB / 451.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.3852, allocations: 94.5 kB / 451.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.3852, allocations: 7.312 kB / 451.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.3885, allocations: 2.042 MB / 453.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3885, allocations: 0 / 453.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.3908, allocations: 0.801 MB / 454.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.391, allocations: 111.1 kB / 454.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3911, allocations: 11.22 kB / 454.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.3914, allocations: 15.8 kB / 454.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3916, allocations: 33.77 kB / 454.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.3916, allocations: 15.84 kB / 454.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.3918, allocations: 146.3 kB / 454.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3918, allocations: 0 / 454.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001111/0.3929, allocations: 148.9 kB / 454.8 MB, free: 10.5 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.002842/0.3958, allocations: 1.382 MB / 456.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.3975, allocations: 0.5348 MB / 456.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3975, allocations: 9.438 kB / 456.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.3984, allocations: 352.3 kB / 457 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.399, allocations: 27.36 kB / 457.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.4059, allocations: 3.409 MB / 460.5 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.4064, allocations: 0.8074 MB / 461.3 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.4066, allocations: 51.53 kB / 461.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4068, allocations: 138.5 kB / 461.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4068, allocations: 0 / 461.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.4459, allocations: 7.767 MB / 469.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.98, allocations: 12.84 kB / 469.2 MB, free: 2.934 MB / 366.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.684095508418977] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.pin_p.reference.gamma'] 11.072015339042991 11.098373294 10.741247618 Calling exit ...