Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001434/0.001434, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.00153/0.00153, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.55/1.55, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.002038/0.002038, allocations: 67.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005094/0.1202, allocations: 3.316 MB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1229, allocations: 1.417 MB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.1232, allocations: 7.938 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2358/0.359, allocations: 141.7 kB / 431.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.3609, allocations: 432.8 kB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3614, allocations: 187.1 kB / 432.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.3624, allocations: 457.5 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.3626, allocations: 112.1 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3629, allocations: 180.9 kB / 433.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3632, allocations: 203.8 kB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.3632, allocations: 34.81 kB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3636, allocations: 166.4 kB / 433.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.3637, allocations: 87.09 kB / 433.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.3638, allocations: 195.4 kB / 433.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.3647, allocations: 0.5533 MB / 434.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3647, allocations: 0 / 434.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3647, allocations: 0.9062 kB / 434.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3647, allocations: 0 / 434.4 MB, free: 7.297 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001609/0.3664, allocations: 0.7557 MB / 435.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3664, allocations: 9.281 kB / 435.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.308e-05/0.3665, allocations: 76.33 kB / 435.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.3672, allocations: 113.7 kB / 435.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.3678, allocations: 316.1 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.3679, allocations: 32.72 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3679, allocations: 34.73 kB / 435.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.3686, allocations: 353.3 kB / 436.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3686, allocations: 3.469 kB / 436.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.3686, allocations: 15.12 kB / 436.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3686, allocations: 8.328 kB / 436.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.3692, allocations: 247.2 kB / 436.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.3713, allocations: 1.326 MB / 437.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.3716, allocations: 186.1 kB / 437.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3718, allocations: 80.23 kB / 438 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009699/0.3728, allocations: 1.196 MB / 439.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3728, allocations: 33.55 kB / 439.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.3728, allocations: 0 / 439.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005656/0.3734, allocations: 224.8 kB / 439.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3734, allocations: 82.97 kB / 439.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3737, allocations: 292.8 kB / 439.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3737, allocations: 26.92 kB / 439.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3738, allocations: 243.7 kB / 440 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3739, allocations: 69.98 kB / 440.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.374, allocations: 63.7 kB / 440.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.3741, allocations: 340.9 kB / 440.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3742, allocations: 67.77 kB / 440.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.3744, allocations: 196.7 kB / 440.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.3748, allocations: 287.8 kB / 441 MB, free: 3.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3748, allocations: 6.125 kB / 441.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00064/0.3754, allocations: 322.2 kB / 441.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3754, allocations: 10.16 kB / 441.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3754, allocations: 6.969 kB / 441.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.3755, allocations: 8.969 kB / 441.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3757, allocations: 82.81 kB / 441.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.3758, allocations: 12.53 kB / 441.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.376, allocations: 37.44 kB / 441.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.376, allocations: 18.34 kB / 441.5 MB, free: 2.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001281/0.3761, allocations: 152 kB / 441.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.3762, allocations: 29.09 kB / 441.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.3763, allocations: 35.83 kB / 441.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3763, allocations: 7.125 kB / 441.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3763, allocations: 1.797 kB / 441.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3763, allocations: 0.5625 kB / 441.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.377, allocations: 0.5062 MB / 442.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.377, allocations: 6.219 kB / 442.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.3772, allocations: 45.11 kB / 442.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3772, allocations: 1.875 kB / 442.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3772, allocations: 12.73 kB / 442.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3772, allocations: 1.219 kB / 442.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3772, allocations: 1.875 kB / 442.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.3778, allocations: 423.8 kB / 442.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3778, allocations: 114.1 kB / 442.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3779, allocations: 3.297 kB / 442.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3781, allocations: 14.36 kB / 442.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3781, allocations: 14.19 kB / 442.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3782, allocations: 14.72 kB / 442.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.3783, allocations: 195.6 kB / 443.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3783, allocations: 0 / 443.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004506/0.3788, allocations: 78.12 kB / 443.2 MB, free: 1.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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.0007237/0.3795, allocations: 0.9738 MB / 444.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3799, allocations: 186.1 kB / 444.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3799, allocations: 0 / 444.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.3802, allocations: 67.42 kB / 444.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3806, allocations: 30.64 kB / 444.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.385, allocations: 3.123 MB / 447.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.3855, allocations: 0.7746 MB / 448.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.3856, allocations: 34.08 kB / 448.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3858, allocations: 105.7 kB / 448.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3858, allocations: 0 / 448.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.4197, allocations: 5.624 MB / 454.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/8.889, allocations: 22.12 kB / 454.1 MB, free: 12.99 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52728289179504] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.Phi.re', 'inductor_e.i'] 8.963525410741568 8.987777211 8.61853849 Calling exit ...