Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.0007588/0.0007588, allocations: 80.44 kB / 19.97 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.0007795/0.0007795, 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.9207/0.9207, allocations: 177.1 MB / 203.5 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.03004/0.03004, allocations: 4.47 MB / 264.5 MB, free: 8.754 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.409e-05, allocations: 2.281 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001425/0.001439, allocations: 1.06 MB / 390.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.002776, allocations: 1.439 MB / 392.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.002829, allocations: 4 kB / 392.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.003082, allocations: 99.36 kB / 392.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.003244, allocations: 75.53 kB / 392.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.003869, allocations: 0.5599 MB / 392.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.00405, allocations: 135.2 kB / 393 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.004165, allocations: 33.06 kB / 393 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.004251, allocations: 79.81 kB / 393.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.004313, allocations: 55.88 kB / 393.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004334, allocations: 12 kB / 393.1 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.004555, allocations: 163.6 kB / 393.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.00458, allocations: 31.84 kB / 393.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.004621, allocations: 39.91 kB / 393.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.004953, allocations: 283.2 kB / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004955, allocations: 0 / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004956, allocations: 0 / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004961, allocations: 3.938 kB / 393.7 MB, free: 3.332 MB / 314.7 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.0009759/0.005936, allocations: 0.5248 MB / 394.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.005974, allocations: 8.031 kB / 394.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.006018, allocations: 46.73 kB / 394.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.006056, allocations: 20.84 kB / 394.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.006307, allocations: 145.6 kB / 394.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.006326, allocations: 12.61 kB / 394.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.006345, allocations: 12.38 kB / 394.4 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.006576, allocations: 201 kB / 394.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006584, allocations: 192 / 394.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.0066, allocations: 8.375 kB / 394.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006607, allocations: 8.109 kB / 394.6 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.006782, allocations: 159.9 kB / 394.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.00745, allocations: 0.4994 MB / 395.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.007653, allocations: 146.5 kB / 395.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.007728, allocations: 64.84 kB / 395.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.007764, allocations: 0 / 395.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.007788, allocations: 38.56 kB / 395.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 7.62e-07/0.007789, allocations: 0 / 395.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006363/0.008426, allocations: 318.1 kB / 395.8 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.008457, allocations: 55.34 kB / 395.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008577, allocations: 173.7 kB / 396.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.008729, allocations: 33.7 kB / 396.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.008786, allocations: 116.4 kB / 396.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.00881, allocations: 47.62 kB / 396.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.008862, allocations: 41.7 kB / 396.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.008935, allocations: 322.8 kB / 396.6 MB, free: 176 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.009029, allocations: 95.97 kB / 396.7 MB, free: 80 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.009136, allocations: 102.7 kB / 396.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.009339, allocations: 192.8 kB / 397 MB, free: 15.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009341, allocations: 0 / 397 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003467/0.009687, allocations: 304.8 kB / 397.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.009705, allocations: 8 kB / 397.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.009712, allocations: 3.984 kB / 397.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.009909, allocations: 48.83 kB / 397.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01002, allocations: 47.89 kB / 397.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01107, allocations: 1.428 MB / 398.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.01113, allocations: 16.08 kB / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01115, allocations: 11.98 kB / 398.9 MB, free: 13.8 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.01127, allocations: 121.8 kB / 399 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.01129, allocations: 15.91 kB / 399 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.01162, allocations: 235 kB / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01162, allocations: 0 / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01163, allocations: 4 kB / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01163, allocations: 0 / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01182, allocations: 208.5 kB / 399.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01182, allocations: 0 / 399.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.01187, allocations: 20 kB / 399.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.012, allocations: 52.75 kB / 399.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01201, allocations: 7.938 kB / 399.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.01329, allocations: 1.424 MB / 400.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01329, allocations: 3.938 kB / 400.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.01359, allocations: 304.3 kB / 401.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.01361, allocations: 19.83 kB / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01362, allocations: 3.938 kB / 401.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.01369, allocations: 7.938 kB / 401.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.01371, allocations: 8.109 kB / 401.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01372, allocations: 11.94 kB / 401.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.902e-05/0.0138, allocations: 138.1 kB / 401.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 401.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.01403, allocations: 48 kB / 401.5 MB, free: 11 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 (12): * Single equations (assignments): 11 * 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.0006289/0.01466, allocations: 0.8449 MB / 402.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.01511, allocations: 298.6 kB / 402.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01512, allocations: 0 / 402.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.01531, allocations: 202.6 kB / 402.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.0155, allocations: 19.86 kB / 402.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.0174, allocations: 2.098 MB / 404.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.01747, allocations: 97.67 kB / 405 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.01753, allocations: 20.61 kB / 405 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.01759, allocations: 40.48 kB / 405.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01759, allocations: 0 / 405.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.0346, allocations: 4.619 MB / 409.7 MB, free: 2.734 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.986, allocations: 4.062 kB / 409.7 MB, free: 2.73 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource_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_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.008673607371747] Failed to read output from testmodel.py, exit status != 0: 7.0720854783430696 7.245465341 7.23758748 Calling exit ...