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.001296/0.001296, allocations: 110.7 kB / 17.17 MB, free: 5.887 MB / 14.72 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.001397/0.001397, allocations: 208.9 kB / 20.14 MB, free: 2.934 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.03741/0.03741, allocations: 6.132 MB / 315.7 MB, free: 1.172 MB / 238.1 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 0.001524/0.001524, allocations: 47.89 kB / 439.2 MB, free: 40.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09983, allocations: 54.98 MB / 494.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002157/0.102, allocations: 1.305 MB / 495.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1034, allocations: 1.458 MB / 497 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.1035, allocations: 4 kB / 497 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1038, allocations: 119.5 kB / 497.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.104, allocations: 83.47 kB / 497.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1051, allocations: 0.8558 MB / 498 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1053, allocations: 143.4 kB / 498.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1055, allocations: 50.17 kB / 498.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.1055, allocations: 55.8 kB / 498.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.1056, allocations: 67.69 kB / 498.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1056, allocations: 12 kB / 498.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.1059, allocations: 223.8 kB / 498.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.1059, allocations: 31.91 kB / 498.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.106, allocations: 71.61 kB / 498.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1064, allocations: 319 kB / 499 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1064, allocations: 0 / 499 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1064, allocations: 7.938 kB / 499 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1064, allocations: 0 / 499 MB, free: 5.715 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001888/0.1083, allocations: 0.6662 MB / 499.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1083, allocations: 8.031 kB / 499.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1084, allocations: 46.73 kB / 499.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.1084, allocations: 16.84 kB / 499.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1086, allocations: 216.1 kB / 499.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1086, allocations: 8.375 kB / 499.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1086, allocations: 16.38 kB / 499.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1089, allocations: 179.9 kB / 0.4884 GB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1089, allocations: 7.922 kB / 0.4884 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.109, allocations: 4 kB / 0.4884 GB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.109, allocations: 4 kB / 0.4884 GB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1091, allocations: 112 kB / 0.4885 GB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.1099, allocations: 0.5431 MB / 0.4891 GB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/0.1108, allocations: 158.5 kB / 0.4892 GB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/0.1109, allocations: 48.86 kB / 0.4893 GB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.655e-05/0.111, allocations: 85.09 kB / 0.4893 GB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.111, allocations: 38.56 kB / 0.4894 GB, free: 3.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.111, allocations: 0 / 0.4894 GB, free: 3.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001186/0.1122, allocations: 339.4 kB / 0.4897 GB, free: 3.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1122, allocations: 77.11 kB / 0.4898 GB, free: 2.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.1123, allocations: 146 kB / 0.4899 GB, free: 2.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1123, allocations: 29.7 kB / 0.4899 GB, free: 2.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.1124, allocations: 136.2 kB / 0.4901 GB, free: 2.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1124, allocations: 27.75 kB / 0.4901 GB, free: 2.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.1124, allocations: 33.7 kB / 0.4901 GB, free: 2.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.1125, allocations: 326.8 kB / 0.4904 GB, free: 2.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.1126, allocations: 47.98 kB / 0.4905 GB, free: 2.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.1127, allocations: 84.73 kB / 0.4906 GB, free: 2.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1129, allocations: 113.7 kB / 0.4907 GB, free: 1.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1129, allocations: 3.984 kB / 0.4907 GB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005382/0.1134, allocations: 226.3 kB / 0.4909 GB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1134, allocations: 8 kB / 0.4909 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1134, allocations: 4.062 kB / 0.4909 GB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.1139, allocations: 84.77 kB / 0.491 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1141, allocations: 19.98 kB / 0.491 GB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.1155, allocations: 1.547 MB / 0.4925 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1156, allocations: 19.92 kB / 0.4925 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1156, allocations: 4 kB / 0.4925 GB, free: 15.89 MB / 366.1 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 0.0001417/0.1158, allocations: 128.2 kB / 0.4927 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1158, allocations: 15.98 kB / 0.4927 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.1164, allocations: 215 kB / 0.4929 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1164, allocations: 0 / 0.4929 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1165, allocations: 3.984 kB / 0.4929 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1165, allocations: 0 / 0.4929 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1167, allocations: 241.5 kB / 0.4931 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1167, allocations: 384 / 0.4931 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.1168, allocations: 19.98 kB / 0.4931 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.1173, allocations: 80.78 kB / 0.4932 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1173, allocations: 4 kB / 0.4932 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.1192, allocations: 1.535 MB / 0.4947 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1192, allocations: 32 / 0.4947 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.1198, allocations: 288.2 kB / 0.495 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.1199, allocations: 96.92 kB / 0.4951 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1199, allocations: 4 kB / 0.4951 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.12, allocations: 4 kB / 0.4951 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.12, allocations: 15.98 kB / 0.4951 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1201, allocations: 0 / 0.4951 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.1201, allocations: 109.8 kB / 0.4952 GB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1201, allocations: 0 / 0.4952 GB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1205, allocations: 47.89 kB / 0.4953 GB, free: 12.86 MB / 366.1 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.00101/0.1215, allocations: 0.8225 MB / 0.4961 GB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.1224, allocations: 258.5 kB / 0.4963 GB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1224, allocations: 4.062 kB / 0.4963 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.1229, allocations: 186.6 kB / 0.4965 GB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1232, allocations: 12 kB / 0.4965 GB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.126, allocations: 1.861 MB / 0.4983 GB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1264, allocations: 0.7119 MB / 0.499 GB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.1264, allocations: 8.672 kB / 0.499 GB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1265, allocations: 39.42 kB / 0.4991 GB, free: 8.801 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1265, allocations: 0 / 0.4991 GB, free: 8.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.156, allocations: 3.649 MB / 0.5026 GB, free: 5.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.48, allocations: 1.75 kB / 0.5026 GB, free: 5.23 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.252268593001645] Failed to read output from testmodel.py, exit status != 0: 10.566047768006683 10.593899796 10.48245863 Calling exit ...