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.Transformer.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.001309/0.001309, 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.001288/0.001288, 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.507/1.507, allocations: 230.5 MB / 254.8 MB, free: 15.29 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.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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: 71.83 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1234, allocations: 53.34 MB / 427 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007806/0.1313, allocations: 5.641 MB / 432.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1356, allocations: 1.892 MB / 434.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.1362, allocations: 20 kB / 434.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.1401, allocations: 1.61 MB / 436.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.142, allocations: 0.6007 MB / 436.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009555/0.143, allocations: 406.9 kB / 437.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1441, allocations: 0.8056 MB / 438 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.1452, allocations: 0.6652 MB / 438.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.1457, allocations: 362.6 kB / 439 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.1463, allocations: 498.1 kB / 439.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1464, allocations: 83.94 kB / 439.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.147, allocations: 243.8 kB / 439.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1472, allocations: 187.3 kB / 440 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.1476, allocations: 421.9 kB / 440.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1491, allocations: 1.175 MB / 441.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1491, allocations: 0 / 441.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1491, allocations: 4 kB / 441.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1492, allocations: 0 / 441.6 MB, free: 6.195 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003517/0.1527, allocations: 1.372 MB / 443 MB, free: 4.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1527, allocations: 12.03 kB / 443 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1529, allocations: 156.2 kB / 443.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.1575, allocations: 0.617 MB / 443.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.1583, allocations: 421.2 kB / 444.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.1584, allocations: 70.38 kB / 444.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1585, allocations: 100.4 kB / 444.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.1603, allocations: 0.9939 MB / 445.3 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.1604, allocations: 0 / 445.3 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.1605, allocations: 44 kB / 445.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.1605, allocations: 24 kB / 445.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.1622, allocations: 0.933 MB / 446.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2676/0.4298, allocations: 3.425 MB / 449.7 MB, free: 22.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.4321, allocations: 2.18 MB / 451.9 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.4325, allocations: 259.2 kB / 452.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4327, allocations: 184.3 kB / 452.3 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4328, allocations: 39.34 kB / 452.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.657e-06/0.4328, allocations: 0 / 452.4 MB, free: 19.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00159/0.4344, allocations: 0.7216 MB / 453.1 MB, free: 19.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4344, allocations: 114.5 kB / 453.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.4347, allocations: 273.4 kB / 453.5 MB, free: 19.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4348, allocations: 35.98 kB / 453.5 MB, free: 19.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.435, allocations: 392.5 kB / 453.9 MB, free: 19.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4351, allocations: 234.7 kB / 454.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.4353, allocations: 140.7 kB / 454.3 MB, free: 19.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.4354, allocations: 348.3 kB / 454.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.4359, allocations: 228.3 kB / 454.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.4365, allocations: 438.3 kB / 455.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.4377, allocations: 0.6942 MB / 456 MB, free: 17.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4377, allocations: 2.125 kB / 456 MB, free: 17.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001544/0.4392, allocations: 0.7582 MB / 456.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4392, allocations: 8.188 kB / 456.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4393, allocations: 6.781 kB / 456.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.4393, allocations: 14.61 kB / 456.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.44, allocations: 188.2 kB / 456.9 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.4401, allocations: 16.59 kB / 456.9 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.4405, allocations: 85.83 kB / 457 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.4406, allocations: 36.53 kB / 457.1 MB, free: 17.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003196/0.4409, allocations: 218.2 kB / 457.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.441, allocations: 43.08 kB / 457.3 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4423, allocations: 0.6479 MB / 458 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.4423, allocations: 9.062 kB / 458 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4423, allocations: 3.938 kB / 458 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.4423, allocations: 4.203 kB / 458 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.4451, allocations: 1.487 MB / 459.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4451, allocations: 1.219 kB / 459.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.4457, allocations: 136.4 kB / 459.6 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.4457, allocations: 11.88 kB / 459.6 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.4457, allocations: 15.81 kB / 459.6 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.4457, allocations: 3.656 kB / 459.6 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4457, allocations: 0 / 459.6 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4473, allocations: 1.125 MB / 460.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.4474, allocations: 131.9 kB / 460.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.4475, allocations: 15.25 kB / 460.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.4478, allocations: 28.55 kB / 460.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4479, allocations: 49.64 kB / 461 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.448, allocations: 20.23 kB / 461 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.4482, allocations: 185 kB / 461.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4482, allocations: 0 / 461.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.4491, allocations: 227.4 kB / 461.4 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (72): * Single equations (assignments): 72 * 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.001838/0.4509, allocations: 1.713 MB / 463.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.4521, allocations: 0.5717 MB / 463.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4521, allocations: 0.7656 kB / 463.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.4525, allocations: 269.4 kB / 464 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4531, allocations: 38.52 kB / 464 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.4594, allocations: 4.851 MB / 468.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.4599, allocations: 0.9039 MB / 469.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.4602, allocations: 77.05 kB / 469.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.4605, allocations: 257.5 kB / 470.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4605, allocations: 1.312 kB / 470.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.4992, allocations: 9.748 MB / 479.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.304, allocations: 15.09 kB / 479.8 MB, free: 6.906 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.84060527663678] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.pin_p.reference.gamma', 'voltageSource.pin_p.reference.gamma', 'idealTransformer.v1.re', 'idealTransformer.v1.im', 'idealTransformer.i1.re', 'idealTransformer.i1.im', 'idealTransformer.v2.re', 'idealTransformer.v2.im', 'idealTransformer.i2.re', 'idealTransformer.i2.im'] 9.380141742993146 9.398585144 9.245095124 Calling exit ...