Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007683/0.0007683, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007984/0.0007984, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9183/0.9183, allocations: 177.1 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02357/0.02357, allocations: 4.477 MB / 264.5 MB, free: 8.77 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.539e-05, allocations: 5.094 kB / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.001913/0.001929, allocations: 1.234 MB / 390.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.003523, allocations: 1.395 MB / 392.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.003602, allocations: 4 kB / 392.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.003903, allocations: 107.3 kB / 392.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.004091, allocations: 83.41 kB / 392.4 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.004906, allocations: 0.8011 MB / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.005098, allocations: 135.3 kB / 393.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005224, allocations: 50.14 kB / 393.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/0.005294, allocations: 83.8 kB / 393.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.005368, allocations: 43.88 kB / 393.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.005388, allocations: 12 kB / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.00565, allocations: 215.5 kB / 393.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.005675, allocations: 35.84 kB / 393.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.005714, allocations: 43.91 kB / 393.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.006023, allocations: 343 kB / 394.2 MB, free: 2.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.006025, allocations: 4 kB / 394.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006026, allocations: 0 / 394.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.00603, allocations: 0 / 394.2 MB, free: 2.836 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001051/0.007081, allocations: 0.5831 MB / 394.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007119, allocations: 8.031 kB / 394.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.007156, allocations: 50.73 kB / 394.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.00719, allocations: 16.84 kB / 394.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.007338, allocations: 153.5 kB / 395 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.00735, allocations: 12.38 kB / 395 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.007368, allocations: 12.38 kB / 395 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.007612, allocations: 235.2 kB / 395.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.007621, allocations: 4.188 kB / 395.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.007635, allocations: 8.312 kB / 395.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007641, allocations: 8.125 kB / 395.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.007778, allocations: 115.9 kB / 395.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.008373, allocations: 475.4 kB / 395.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.008859, allocations: 166.4 kB / 396 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.008916, allocations: 32.86 kB / 396 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/0.008996, allocations: 11.98 kB / 396 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.009016, allocations: 34.56 kB / 396.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.009017, allocations: 4 kB / 396.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000673/0.00969, allocations: 262.4 kB / 396.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.009729, allocations: 89.03 kB / 396.4 MB, free: 416 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.009811, allocations: 144.4 kB / 396.5 MB, free: 264 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.009826, allocations: 25.7 kB / 396.6 MB, free: 232 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.009883, allocations: 132.2 kB / 396.7 MB, free: 96 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.009903, allocations: 35.69 kB / 396.7 MB, free: 60 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.009946, allocations: 37.7 kB / 396.8 MB, free: 16 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.01003, allocations: 318.8 kB / 397.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.0101, allocations: 51.98 kB / 397.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.01018, allocations: 96.2 kB / 397.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01032, allocations: 125.7 kB / 397.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01032, allocations: 0 / 397.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006114/0.01094, allocations: 230.2 kB / 397.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01095, allocations: 8 kB / 397.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01096, allocations: 0 / 397.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.01124, allocations: 88.83 kB / 397.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.01131, allocations: 19.94 kB / 397.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/0.01227, allocations: 1.447 MB / 399.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.01234, allocations: 19.92 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01235, allocations: 4 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.01242, allocations: 126 kB / 399.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.01244, allocations: 11.95 kB / 399.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.01277, allocations: 211 kB / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01277, allocations: 0 / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01278, allocations: 0 / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01278, allocations: 3.984 kB / 399.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.01292, allocations: 197 kB / 399.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01292, allocations: 0 / 399.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.01296, allocations: 19.94 kB / 399.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.01316, allocations: 84.77 kB / 399.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01317, allocations: 7.938 kB / 399.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008453/0.01402, allocations: 1.42 MB / 401.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01402, allocations: 4.031 kB / 401.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.01431, allocations: 288.2 kB / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.01432, allocations: 7.953 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.01433, allocations: 8 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.0144, allocations: 11.92 kB / 401.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.01442, allocations: 7.984 kB / 401.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.01443, allocations: 8 kB / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.01447, allocations: 95.27 kB / 401.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01447, allocations: 0 / 401.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002/0.01467, allocations: 51.89 kB / 401.7 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 9 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/0.01519, allocations: 0.8265 MB / 402.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.01564, allocations: 250.6 kB / 402.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01564, allocations: 0 / 402.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.01588, allocations: 202.6 kB / 403 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.01604, allocations: 10.66 kB / 403 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.01778, allocations: 1.842 MB / 404.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.01784, allocations: 113.8 kB / 404.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.01787, allocations: 16.7 kB / 404.9 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.01792, allocations: 40.48 kB / 405 MB, free: 7.281 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01792, allocations: 0 / 405 MB, free: 7.281 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.03384, allocations: 4.393 MB / 409.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.817, allocations: 7.031 kB / 409.4 MB, free: 3.004 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.673326065763831] Failed to read output from testmodel.py, exit status != 0: 6.899373226799071 7.064987588 7.057182625 Calling exit ...