Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001129/0.001129, allocations: 72.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.001254/0.001254, allocations: 173.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.8727/0.8727, 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.02305/0.02305, allocations: 4.465 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.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.045e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002118/0.002139, allocations: 2.009 MB / 391.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.003967, allocations: 1.653 MB / 393.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004091, allocations: 8 kB / 393.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.004519, allocations: 155 kB / 393.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.004963, allocations: 218.4 kB / 393.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.006223, allocations: 1.112 MB / 394.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.00663, allocations: 421.7 kB / 395.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.00679, allocations: 79.61 kB / 395.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.007228, allocations: 231.5 kB / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.007431, allocations: 159.5 kB / 395.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.007477, allocations: 32 kB / 395.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.007942, allocations: 271.5 kB / 395.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.007999, allocations: 83.66 kB / 396 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.008094, allocations: 127.6 kB / 396.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.008668, allocations: 0.6037 MB / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.008672, allocations: 0 / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.008674, allocations: 0 / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.00868, allocations: 0 / 396.7 MB, free: 252 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002778/0.01146, allocations: 1.297 MB / 398 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.01152, allocations: 16.03 kB / 398 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.01159, allocations: 66.72 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.01167, allocations: 52.66 kB / 398.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.01201, allocations: 260.7 kB / 398.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.01203, allocations: 21.03 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.01207, allocations: 36.38 kB / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.0127, allocations: 0.6719 MB / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01271, allocations: 4.125 kB / 399.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01274, allocations: 12.38 kB / 399.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.01275, allocations: 12.06 kB / 399.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.01322, allocations: 430.5 kB / 399.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.01486, allocations: 1.127 MB / 400.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.01549, allocations: 0.4903 MB / 401.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.01575, allocations: 248.7 kB / 401.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.01581, allocations: 12 kB / 401.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01583, allocations: 38.56 kB / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.01583, allocations: 0 / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.004093/0.01993, allocations: 1.821 MB / 403.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.01999, allocations: 106.8 kB / 403.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.02025, allocations: 273.8 kB / 403.7 MB, free: 9.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.0203, allocations: 37.7 kB / 403.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.0204, allocations: 169 kB / 403.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.0205, allocations: 154.6 kB / 404 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.02064, allocations: 106.3 kB / 404.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.02076, allocations: 354.7 kB / 404.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.02108, allocations: 297.2 kB / 404.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.02144, allocations: 401.1 kB / 405.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.02214, allocations: 0.6586 MB / 405.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.02215, allocations: 0 / 405.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001975/0.02412, allocations: 1.247 MB / 407.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.02415, allocations: 4 kB / 407.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.02416, allocations: 0 / 407.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.02599, allocations: 0.7763 MB / 407.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.02622, allocations: 95.77 kB / 407.9 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.0309, allocations: 3.98 MB / 411.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.03117, allocations: 59.55 kB / 412 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.03121, allocations: 16 kB / 412 MB, free: 0.5508 MB / 330.7 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.03137, allocations: 157.7 kB / 412.2 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.03142, allocations: 35.8 kB / 412.2 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1465/0.1779, allocations: 1.198 MB / 413.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.1779, allocations: 5.406 kB / 413.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1779, allocations: 0 / 413.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.178, allocations: 4.094 kB / 413.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1784, allocations: 437.2 kB / 413.8 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.1785, allocations: 0.6562 kB / 413.8 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1786, allocations: 61.25 kB / 413.9 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.1806, allocations: 0.7466 MB / 414.6 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.1806, allocations: 10.02 kB / 414.6 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004335/0.1849, allocations: 3.925 MB / 418.6 MB, free: 30.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1849, allocations: 3.75 kB / 418.6 MB, free: 30.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.187, allocations: 1.212 MB / 419.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1871, allocations: 45.58 kB / 419.8 MB, free: 30.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.1871, allocations: 10.98 kB / 419.8 MB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1873, allocations: 21.83 kB / 419.9 MB, free: 30.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.1875, allocations: 41.98 kB / 419.9 MB, free: 30.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1875, allocations: 16.41 kB / 419.9 MB, free: 30.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1876, allocations: 190.8 kB / 420.1 MB, free: 30.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1876, allocations: 0 / 420.1 MB, free: 30.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005154/0.1881, allocations: 178.3 kB / 420.3 MB, free: 30.25 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/0.1903, allocations: 1.781 MB / 422.1 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.192, allocations: 0.9857 MB / 423 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.192, allocations: 3.469 kB / 423 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.1932, allocations: 0.6399 MB / 423.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1936, allocations: 45.48 kB / 423.7 MB, free: 28.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.2005, allocations: 5.187 MB / 428.9 MB, free: 25.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2006, allocations: 192.8 kB / 429.1 MB, free: 25.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2008, allocations: 53.84 kB / 429.2 MB, free: 25.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2009, allocations: 123.8 kB / 429.3 MB, free: 25.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2009, allocations: 1.375 kB / 429.3 MB, free: 25.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.2317, allocations: 15.73 MB / 445 MB, free: 13.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.417, allocations: 2.25 kB / 445 MB, free: 13.81 MB / 330.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_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_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.198141753673553] Failed to read output from testmodel.py, exit status != 0: 8.512228282168508 8.521813719 8.510782471 Calling exit ...