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.00186/0.00186, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002723/0.002723, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001946/0.001946, allocations: 68.77 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005172/0.2781, allocations: 3.344 MB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.2806, allocations: 1.429 MB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.2808, allocations: 8 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.2813, allocations: 151 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.2823, allocations: 425.7 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.2827, allocations: 191.5 kB / 437.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.2834, allocations: 458.1 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.2836, allocations: 109.8 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.2838, allocations: 183.2 kB / 438.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.2841, allocations: 203.1 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.2842, allocations: 36 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.2845, allocations: 171.9 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.2846, allocations: 87.62 kB / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.2848, allocations: 191 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.2855, allocations: 0.5522 MB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2855, allocations: 0 / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2855, allocations: 0 / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2855, allocations: 3.984 kB / 439.4 MB, free: 15.36 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.001456/0.287, allocations: 0.6806 MB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.287, allocations: 8.031 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.38e-05/0.2871, allocations: 70.72 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/0.2879, allocations: 116.6 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.2884, allocations: 259.7 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.2884, allocations: 29.36 kB / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.2885, allocations: 36.31 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.2891, allocations: 361.3 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2892, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.2892, allocations: 12 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2892, allocations: 8 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.2897, allocations: 249.9 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.2919, allocations: 1.269 MB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2923, allocations: 186.2 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2925, allocations: 81.97 kB / 442.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/0.2932, allocations: 0.5728 MB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2933, allocations: 38.5 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2933, allocations: 4 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005714/0.2938, allocations: 225.4 kB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.2939, allocations: 81.11 kB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.2942, allocations: 288.3 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2943, allocations: 33.7 kB / 444 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2944, allocations: 244 kB / 444.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.2945, allocations: 67.44 kB / 444.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.2946, allocations: 65.97 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2947, allocations: 334.8 kB / 444.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2949, allocations: 64.62 kB / 444.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2952, allocations: 210.3 kB / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.2956, allocations: 296 kB / 445.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2956, allocations: 4 kB / 445.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005467/0.2962, allocations: 317.4 kB / 445.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2962, allocations: 8 kB / 445.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2962, allocations: 4 kB / 445.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.2962, allocations: 11.94 kB / 445.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2965, allocations: 71.91 kB / 445.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.2965, allocations: 15.92 kB / 445.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2967, allocations: 31.78 kB / 445.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2967, allocations: 20.16 kB / 445.7 MB, free: 8.648 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.0001599/0.2969, allocations: 157.7 kB / 445.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.297, allocations: 31.8 kB / 445.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.297, allocations: 25.8 kB / 445.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.297, allocations: 3.938 kB / 445.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.297, allocations: 3.984 kB / 445.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.297, allocations: 4 kB / 445.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.2977, allocations: 486.2 kB / 446.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2977, allocations: 7.938 kB / 446.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2979, allocations: 47.91 kB / 446.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2979, allocations: 4 kB / 446.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.298, allocations: 4.25 kB / 446.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.298, allocations: 8 kB / 446.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.298, allocations: 0 / 446.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.2986, allocations: 419.4 kB / 446.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.2986, allocations: 35.7 kB / 446.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.2986, allocations: 8 kB / 446.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.2989, allocations: 11.98 kB / 446.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2989, allocations: 19.98 kB / 446.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2989, allocations: 4 kB / 447 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.2991, allocations: 207.1 kB / 447.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2991, allocations: 0 / 447.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.2996, allocations: 79.83 kB / 447.2 MB, free: 7.031 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.0009547/0.3005, allocations: 0.9768 MB / 448.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.3009, allocations: 171.8 kB / 448.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3009, allocations: 0 / 448.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3011, allocations: 68.97 kB / 448.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3015, allocations: 37.25 kB / 448.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.3056, allocations: 3.127 MB / 451.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.306, allocations: 0.7753 MB / 452.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3061, allocations: 30.97 kB / 452.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3063, allocations: 111.4 kB / 452.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3063, allocations: 0 / 452.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.3419, allocations: 5.771 MB / 458.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.822, allocations: 16.17 kB / 458.3 MB, free: 11.84 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.386858878657222] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.Phi.re', 'inductor_e.i'] 8.89836462168023 8.922666924 8.632358135 Calling exit ...