Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001458/0.001458, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.002109/0.002109, allocations: 221.9 kB / 23.05 MB, free: 4.941 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.03559/0.03559, allocations: 6.127 MB / 319.4 MB, free: 12.98 MB / 254.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 51.92 kB / 444.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1184, allocations: 55 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002593/0.121, allocations: 1.26 MB / 0.489 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1234, allocations: 1.548 MB / 0.4905 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.1235, allocations: 7.938 kB / 0.4906 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.1239, allocations: 115.4 kB / 0.4907 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1243, allocations: 99.39 kB / 0.4908 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.1263, allocations: 1.008 MB / 0.4917 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.1266, allocations: 159.2 kB / 0.4919 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1267, allocations: 37.95 kB / 0.4919 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.1268, allocations: 67.78 kB / 0.492 GB, free: 9.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.127, allocations: 87.55 kB / 0.4921 GB, free: 9.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.127, allocations: 12 kB / 0.4921 GB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.1275, allocations: 243.8 kB / 0.4923 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.1275, allocations: 27.86 kB / 0.4924 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.1276, allocations: 83.53 kB / 0.4924 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.1282, allocations: 334.9 kB / 0.4928 GB, free: 9.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1282, allocations: 4 kB / 0.4928 GB, free: 9.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1282, allocations: 4 kB / 0.4928 GB, free: 9.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1282, allocations: 0 / 0.4928 GB, free: 9.211 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002339/0.1305, allocations: 0.6456 MB / 0.4934 GB, free: 8.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1306, allocations: 11.97 kB / 0.4934 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.188e-05/0.1306, allocations: 54.73 kB / 0.4935 GB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1307, allocations: 20.8 kB / 0.4935 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.131, allocations: 166.3 kB / 0.4936 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.131, allocations: 8.609 kB / 0.4936 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.131, allocations: 12.38 kB / 0.4937 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.1314, allocations: 212.2 kB / 0.4939 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1314, allocations: 3.938 kB / 0.4939 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.1314, allocations: 8 kB / 0.4939 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1314, allocations: 4 kB / 0.4939 GB, free: 8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1317, allocations: 167.9 kB / 0.494 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.133, allocations: 0.6934 MB / 0.4947 GB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.1334, allocations: 190.5 kB / 0.4949 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1336, allocations: 80.84 kB / 0.495 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1336, allocations: 4 kB / 0.495 GB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1337, allocations: 38.48 kB / 0.495 GB, free: 6.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1337, allocations: 0 / 0.495 GB, free: 6.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002077/0.1357, allocations: 0.51 MB / 0.4955 GB, free: 6.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.1358, allocations: 77.11 kB / 0.4956 GB, free: 6.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.136, allocations: 178.1 kB / 0.4957 GB, free: 5.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1361, allocations: 33.7 kB / 0.4958 GB, free: 5.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.1361, allocations: 116.4 kB / 0.4959 GB, free: 5.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.1362, allocations: 63.5 kB / 0.496 GB, free: 5.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.1363, allocations: 41.7 kB / 0.496 GB, free: 5.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1365, allocations: 330.8 kB / 0.4963 GB, free: 5.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.1366, allocations: 104 kB / 0.4964 GB, free: 5.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.1369, allocations: 129.7 kB / 0.4965 GB, free: 5.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.1372, allocations: 230.1 kB / 0.4967 GB, free: 4.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1372, allocations: 3.938 kB / 0.4968 GB, free: 4.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001189/0.1384, allocations: 426 kB / 0.4972 GB, free: 4.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1384, allocations: 8.031 kB / 0.4972 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1384, allocations: 0 / 0.4972 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.1396, allocations: 204.6 kB / 0.4974 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.1398, allocations: 39.91 kB / 0.4974 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.143, allocations: 1.875 MB / 0.4992 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1432, allocations: 19.83 kB / 0.4992 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1432, allocations: 16.03 kB / 0.4993 GB, free: 2.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.1434, allocations: 129.8 kB / 0.4994 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.1434, allocations: 15.84 kB / 0.4994 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1446, allocations: 387.4 kB / 0.4998 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1446, allocations: 0 / 0.4998 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1446, allocations: 3.938 kB / 0.4998 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1446, allocations: 3.984 kB / 0.4998 GB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.145, allocations: 268.5 kB / 0.5 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.145, allocations: 0 / 0.5 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1451, allocations: 35.88 kB / 0.5001 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.1462, allocations: 196.6 kB / 0.5003 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1462, allocations: 8 kB / 0.5003 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.1489, allocations: 1.85 MB / 0.5021 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1489, allocations: 3.984 kB / 0.5021 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1501, allocations: 447.9 kB / 0.5025 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1501, allocations: 23.84 kB / 0.5025 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1501, allocations: 4 kB / 0.5025 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1503, allocations: 19.98 kB / 0.5025 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1504, allocations: 11.97 kB / 0.5026 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1504, allocations: 8 kB / 0.5026 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1505, allocations: 127.2 kB / 0.5027 GB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1505, allocations: 0 / 0.5027 GB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.1509, allocations: 67.94 kB / 0.5028 GB, free: 14.42 MB / 382.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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.1525, allocations: 0.993 MB / 0.5037 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1536, allocations: 398.4 kB / 0.5041 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1536, allocations: 0 / 0.5041 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.1543, allocations: 270.5 kB / 0.5044 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1546, allocations: 27.86 kB / 0.5044 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.159, allocations: 2.505 MB / 0.5068 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1594, allocations: 0.7243 MB / 0.5075 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1595, allocations: 33.42 kB / 0.5076 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.1596, allocations: 43.42 kB / 0.5076 GB, free: 9.277 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1596, allocations: 0 / 0.5076 GB, free: 9.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.1954, allocations: 6.367 MB / 0.5138 GB, free: 3.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/12.9, allocations: 6.344 kB / 0.5138 GB, free: 3.039 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_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_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.883173906993761] Failed to read output from testmodel.py, exit status != 0: 13.01845888299431 13.24642821 13.115283352 Calling exit ...