Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.001464/0.001464, allocations: 112.2 kB / 17.17 MB, free: 5.879 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.001724/0.001724, allocations: 208 kB / 20.14 MB, free: 2.918 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.633/1.633, 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.03792/0.03792, allocations: 6.144 MB / 315.7 MB, free: 1.102 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.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 45.77 kB / 439.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 54.99 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001943/0.1132, allocations: 1.031 MB / 495.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1146, allocations: 1.524 MB / 496.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.1147, allocations: 0 / 496.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.115, allocations: 95.55 kB / 496.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1152, allocations: 83.53 kB / 497 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1164, allocations: 0.8674 MB / 497.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1166, allocations: 111.4 kB / 497.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1167, allocations: 17.41 kB / 497.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.1167, allocations: 55.78 kB / 498 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.1168, allocations: 47.77 kB / 498 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1168, allocations: 11.94 kB / 498.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.1171, allocations: 215.8 kB / 498.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.1171, allocations: 31.84 kB / 498.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1172, allocations: 51.73 kB / 498.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1175, allocations: 283.1 kB / 498.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1175, allocations: 0 / 498.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1175, allocations: 4 kB / 498.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1175, allocations: 0 / 498.6 MB, free: 6.062 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001872/0.1194, allocations: 0.6584 MB / 499.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1194, allocations: 8.031 kB / 499.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1195, allocations: 50.67 kB / 499.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1195, allocations: 16.84 kB / 499.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1197, allocations: 196.3 kB / 499.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1197, allocations: 12.36 kB / 499.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1197, allocations: 12.38 kB / 499.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1199, allocations: 162.5 kB / 499.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1199, allocations: 3.938 kB / 499.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.12, allocations: 8 kB / 499.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.12, allocations: 0 / 499.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1201, allocations: 120 kB / 499.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.1207, allocations: 488.5 kB / 0.4886 GB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.1213, allocations: 174.6 kB / 0.4888 GB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.1214, allocations: 44.84 kB / 0.4888 GB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/0.1218, allocations: 462.5 kB / 0.4893 GB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1218, allocations: 38.5 kB / 0.4893 GB, free: 3.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1218, allocations: 0 / 0.4893 GB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007118/0.1225, allocations: 299.4 kB / 0.4896 GB, free: 3.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1225, allocations: 85.05 kB / 0.4897 GB, free: 3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1226, allocations: 160.2 kB / 0.4898 GB, free: 2.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1226, allocations: 25.7 kB / 0.4898 GB, free: 2.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.1227, allocations: 119.9 kB / 0.49 GB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1227, allocations: 35.69 kB / 0.49 GB, free: 2.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.1228, allocations: 45.7 kB / 0.49 GB, free: 2.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.1228, allocations: 326.8 kB / 0.4904 GB, free: 2.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.1229, allocations: 59.97 kB / 0.4904 GB, free: 2.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.123, allocations: 113.2 kB / 0.4905 GB, free: 2.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1232, allocations: 173.1 kB / 0.4907 GB, free: 1.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1232, allocations: 0 / 0.4907 GB, free: 1.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004373/0.1236, allocations: 263.7 kB / 0.4909 GB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1236, allocations: 4 kB / 0.4909 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1236, allocations: 0 / 0.4909 GB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.124, allocations: 72.73 kB / 0.491 GB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1241, allocations: 43.92 kB / 0.491 GB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.1251, allocations: 1.469 MB / 0.4925 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1253, allocations: 23.78 kB / 0.4925 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1253, allocations: 11.94 kB / 0.4925 GB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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.000116/0.1254, allocations: 126.3 kB / 0.4926 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1255, allocations: 11.94 kB / 0.4926 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.126, allocations: 199.2 kB / 0.4928 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.126, allocations: 0 / 0.4928 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.126, allocations: 4 kB / 0.4928 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.126, allocations: 7.922 kB / 0.4929 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.1262, allocations: 221.6 kB / 0.4931 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1262, allocations: 4 kB / 0.4931 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.1263, allocations: 8 kB / 0.4931 GB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.1267, allocations: 68.8 kB / 0.4931 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1267, allocations: 8 kB / 0.4931 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.1281, allocations: 1.472 MB / 0.4946 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1281, allocations: 8.188 kB / 0.4946 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1286, allocations: 268.1 kB / 0.4948 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1286, allocations: 89.05 kB / 0.4949 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1286, allocations: 4 kB / 0.4949 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1288, allocations: 8 kB / 0.4949 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1288, allocations: 8.359 kB / 0.495 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1288, allocations: 4 kB / 0.495 GB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1289, allocations: 122.3 kB / 0.4951 GB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1289, allocations: 0 / 0.4951 GB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1292, allocations: 43.94 kB / 0.4951 GB, free: 12.95 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.0008747/0.1301, allocations: 0.8264 MB / 0.4959 GB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.1308, allocations: 254.5 kB / 0.4962 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1308, allocations: 4 kB / 0.4962 GB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.1311, allocations: 174.7 kB / 0.4963 GB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1313, allocations: 10.34 kB / 0.4963 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.134, allocations: 1.953 MB / 0.4983 GB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1344, allocations: 0.7006 MB / 0.4989 GB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.499e-05/0.1345, allocations: 20.88 kB / 0.499 GB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.1345, allocations: 31.42 kB / 0.499 GB, free: 8.793 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1345, allocations: 0 / 0.499 GB, free: 8.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.1654, allocations: 3.575 MB / 0.5025 GB, free: 5.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.966/10.13, allocations: 8.188 kB / 0.5025 GB, free: 5.297 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_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_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.101187959997333] Failed to read output from testmodel.py, exit status != 0: 10.215548287989805 10.24095389 10.118618016 Calling exit ...