Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.001337/0.001337, allocations: 110.9 kB / 17.17 MB, free: 5.855 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.001481/0.001481, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.561/1.561, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03915/0.03915, allocations: 6.137 MB / 315.7 MB, free: 1.227 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.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 45.62 kB / 439.2 MB, free: 40.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08935, allocations: 54.99 MB / 494.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.00226/0.09161, allocations: 1.305 MB / 495.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09299, allocations: 1.45 MB / 497 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.09306, allocations: 7.938 kB / 497 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.09336, allocations: 111.5 kB / 497.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.09357, allocations: 83.47 kB / 497.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.09474, allocations: 0.8636 MB / 498 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.09494, allocations: 139.4 kB / 498.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.09507, allocations: 50.17 kB / 498.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.09512, allocations: 59.78 kB / 498.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.0952, allocations: 63.7 kB / 498.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.09522, allocations: 12 kB / 498.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.09554, allocations: 227.7 kB / 498.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.09556, allocations: 31.86 kB / 498.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.09561, allocations: 67.66 kB / 498.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.09597, allocations: 327 kB / 499 MB, free: 5.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09597, allocations: 3.938 kB / 499 MB, free: 5.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09597, allocations: 3.938 kB / 499 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.09598, allocations: 0 / 499 MB, free: 5.727 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.001895/0.09788, allocations: 0.6623 MB / 499.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.09791, allocations: 8.031 kB / 499.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.09795, allocations: 50.73 kB / 499.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.098, allocations: 20.84 kB / 499.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.09815, allocations: 214.2 kB / 499.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.09817, allocations: 8.375 kB / 499.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.09819, allocations: 12.38 kB / 500 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.09845, allocations: 179.9 kB / 0.4884 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.09846, allocations: 7.938 kB / 0.4884 GB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.09847, allocations: 4 kB / 0.4884 GB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.09848, allocations: 4 kB / 0.4884 GB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.09864, allocations: 120 kB / 0.4885 GB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.09936, allocations: 0.5353 MB / 0.4891 GB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.1002, allocations: 158.5 kB / 0.4892 GB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.1003, allocations: 52.89 kB / 0.4893 GB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1004, allocations: 81.11 kB / 0.4893 GB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.1004, allocations: 34.56 kB / 0.4894 GB, free: 3.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1004, allocations: 0 / 0.4894 GB, free: 3.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001163/0.1015, allocations: 343.4 kB / 0.4897 GB, free: 3.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1016, allocations: 81.11 kB / 0.4898 GB, free: 2.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1017, allocations: 144.6 kB / 0.4899 GB, free: 2.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1017, allocations: 29.7 kB / 0.4899 GB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1017, allocations: 128.2 kB / 0.4901 GB, free: 2.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1017, allocations: 35.72 kB / 0.4901 GB, free: 2.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.1018, allocations: 33.7 kB / 0.4901 GB, free: 2.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.1018, allocations: 326.8 kB / 0.4904 GB, free: 2.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.1019, allocations: 47.98 kB / 0.4905 GB, free: 2.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.102, allocations: 70.56 kB / 0.4906 GB, free: 2.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1022, allocations: 125.6 kB / 0.4907 GB, free: 1.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1022, allocations: 384 / 0.4907 GB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005247/0.1027, allocations: 230.1 kB / 0.4909 GB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1027, allocations: 13.56 kB / 0.4909 GB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1027, allocations: 0 / 0.4909 GB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.1032, allocations: 88.72 kB / 0.491 GB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1034, allocations: 19.98 kB / 0.491 GB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1047, allocations: 1.547 MB / 0.4925 GB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1049, allocations: 15.91 kB / 0.4925 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1049, allocations: 4 kB / 0.4925 GB, free: 15.9 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.0001415/0.105, allocations: 134.4 kB / 0.4927 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1051, allocations: 11.89 kB / 0.4927 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.1057, allocations: 203.1 kB / 0.4929 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1057, allocations: 4 kB / 0.4929 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1057, allocations: 3.938 kB / 0.4929 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1057, allocations: 0 / 0.4929 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.106, allocations: 241.5 kB / 0.4931 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.106, allocations: 4 kB / 0.4931 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.1061, allocations: 12 kB / 0.4931 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.1066, allocations: 88.75 kB / 0.4932 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1066, allocations: 0 / 0.4932 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.1083, allocations: 1.535 MB / 0.4947 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1084, allocations: 0 / 0.4947 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.109, allocations: 288.2 kB / 0.495 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.109, allocations: 92.94 kB / 0.4951 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.109, allocations: 0 / 0.4951 GB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1092, allocations: 8.203 kB / 0.4951 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1092, allocations: 8 kB / 0.4951 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1092, allocations: 4 kB / 0.4951 GB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.85e-05/0.1093, allocations: 110 kB / 0.4952 GB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1093, allocations: 8 kB / 0.4952 GB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000349/0.1096, allocations: 47.89 kB / 0.4953 GB, free: 12.88 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.001004/0.1106, allocations: 0.8263 MB / 0.4961 GB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.1115, allocations: 254.6 kB / 0.4963 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1115, allocations: 0 / 0.4963 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.112, allocations: 190.6 kB / 0.4965 GB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1123, allocations: 12 kB / 0.4965 GB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.1151, allocations: 1.861 MB / 0.4983 GB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1155, allocations: 0.7118 MB / 0.499 GB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1155, allocations: 16.64 kB / 0.499 GB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.1156, allocations: 39.42 kB / 0.4991 GB, free: 8.812 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1156, allocations: 0 / 0.4991 GB, free: 8.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.1443, allocations: 3.63 MB / 0.5026 GB, free: 5.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.32, allocations: 14.42 kB / 0.5026 GB, free: 5.246 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneTransfo_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_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.095639564999146] Failed to read output from testmodel.py, exit status != 0: 10.39730992000841 10.418607287 10.318418058 Calling exit ...