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.001074/0.001074, allocations: 76.55 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.003504/0.003504, allocations: 177.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.8781/0.8781, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.02232/0.02232, allocations: 4.476 MB / 264.5 MB, free: 8.758 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.373e-06/1.373e-06, allocations: 0 / 389.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.896e-05, allocations: 6.219 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.001588/0.001607, allocations: 1.24 MB / 390.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002816, allocations: 1.392 MB / 392.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.002872, allocations: 4 kB / 392.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.003119, allocations: 107.4 kB / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.003299, allocations: 83.41 kB / 392.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.004091, allocations: 0.7933 MB / 393.2 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.004271, allocations: 147.3 kB / 393.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.00439, allocations: 42.14 kB / 393.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.004467, allocations: 87.8 kB / 393.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.004534, allocations: 43.89 kB / 393.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.004555, allocations: 12 kB / 393.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.004797, allocations: 215.5 kB / 393.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.00482, allocations: 31.84 kB / 393.8 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.004861, allocations: 47.91 kB / 393.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.005173, allocations: 343 kB / 394.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005175, allocations: 0 / 394.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.005176, allocations: 0 / 394.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.005181, allocations: 0 / 394.1 MB, free: 2.848 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.001183/0.006363, allocations: 0.5909 MB / 394.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.006398, allocations: 12.03 kB / 394.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.006436, allocations: 46.73 kB / 394.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.006469, allocations: 16.84 kB / 394.8 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.006619, allocations: 161.5 kB / 395 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.006631, allocations: 8.375 kB / 395 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.006649, allocations: 12.38 kB / 395 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.006881, allocations: 235.2 kB / 395.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.006888, allocations: 192 / 395.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.006904, allocations: 12.3 kB / 395.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.006909, allocations: 8.125 kB / 395.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.007043, allocations: 116 kB / 395.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.007609, allocations: 471.4 kB / 395.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.008067, allocations: 158.5 kB / 396 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.008124, allocations: 44.84 kB / 396 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/0.0082, allocations: 4 kB / 396 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.008222, allocations: 34.56 kB / 396 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.008223, allocations: 0 / 396 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000677/0.0089, allocations: 274.4 kB / 396.3 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.008939, allocations: 81.05 kB / 396.4 MB, free: 424 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.00902, allocations: 140.7 kB / 396.5 MB, free: 276 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.009037, allocations: 33.7 kB / 396.6 MB, free: 236 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.00909, allocations: 132.2 kB / 396.7 MB, free: 100 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.009109, allocations: 31.7 kB / 396.7 MB, free: 68 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.009153, allocations: 33.7 kB / 396.8 MB, free: 28 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.009242, allocations: 322.8 kB / 397.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.009307, allocations: 47.98 kB / 397.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.009389, allocations: 104.2 kB / 397.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.009534, allocations: 124.8 kB / 397.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009536, allocations: 0 / 397.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003345/0.00987, allocations: 230.3 kB / 397.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.009883, allocations: 4 kB / 397.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009888, allocations: 0 / 397.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.01018, allocations: 92.73 kB / 397.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.01025, allocations: 23.98 kB / 397.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.01128, allocations: 1.447 MB / 399.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.01135, allocations: 19.92 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.01136, allocations: 7.984 kB / 399.2 MB, free: 13.47 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 8.661e-05/0.01144, allocations: 121.8 kB / 399.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.01146, allocations: 7.953 kB / 399.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.0118, allocations: 211.1 kB / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.0118, allocations: 0 / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.0118, allocations: 0 / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01181, allocations: 4 kB / 399.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.01195, allocations: 193 kB / 399.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01196, allocations: 0 / 399.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.012, allocations: 23.92 kB / 399.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.01222, allocations: 80.78 kB / 399.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01223, allocations: 11.94 kB / 399.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008846/0.01311, allocations: 1.428 MB / 401.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01312, allocations: 0 / 401.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.01357, allocations: 284.1 kB / 401.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.01358, allocations: 7.953 kB / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.01359, allocations: 0 / 401.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.01365, allocations: 11.94 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.01368, allocations: 16.06 kB / 401.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.01369, allocations: 4 kB / 401.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.01373, allocations: 103.2 kB / 401.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01373, allocations: 0 / 401.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01393, 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.0005485/0.01448, allocations: 0.8176 MB / 402.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.01497, allocations: 258.9 kB / 402.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01497, allocations: 0 / 402.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.01522, allocations: 198.5 kB / 403 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01539, allocations: 6.656 kB / 403 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.017, allocations: 1.845 MB / 404.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.01707, allocations: 113.8 kB / 404.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.0171, allocations: 8.734 kB / 404.9 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.01716, allocations: 44.48 kB / 405 MB, free: 7.289 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01716, allocations: 0 / 405 MB, free: 7.289 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.03326, allocations: 4.396 MB / 409.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.942, allocations: 14.69 kB / 409.4 MB, free: 3.008 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneperfectTransfo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.836316978558898] Failed to read output from testmodel.py, exit status != 0: 7.024221061728895 7.186569247 7.179517159 Calling exit ...