Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.001135/0.001135, allocations: 76.45 kB / 19.97 MB, free: 4.582 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.001232/0.001232, allocations: 173.9 kB / 23.25 MB, free: 1.297 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.9259/0.9259, allocations: 177.1 MB / 203.6 MB, free: 5.738 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.02596/0.02596, allocations: 4.462 MB / 264.5 MB, free: 8.766 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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.535e-05, allocations: 6.219 kB / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002117/0.002142, allocations: 0.9063 MB / 390.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003397, allocations: 1.182 MB / 391.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.003447, allocations: 0 / 391.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.003755, allocations: 63.58 kB / 391.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.003911, allocations: 31.78 kB / 391.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.004014, allocations: 35.83 kB / 391.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.004099, allocations: 59.67 kB / 391.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.004217, allocations: 23.97 kB / 391.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.00426, allocations: 23.98 kB / 391.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.004328, allocations: 23.91 kB / 391.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.004344, allocations: 4 kB / 391.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.004465, allocations: 71.83 kB / 392 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.004479, allocations: 4 kB / 392 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.004504, allocations: 31.86 kB / 392 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004672, allocations: 123.6 kB / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004674, allocations: 0 / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004675, allocations: 0 / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004679, allocations: 0 / 392.2 MB, free: 4.836 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004615/0.00514, allocations: 306 kB / 392.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005178, allocations: 16.02 kB / 392.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.005207, allocations: 34.75 kB / 392.5 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.00523, allocations: 8.891 kB / 392.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.005318, allocations: 109.7 kB / 392.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00533, allocations: 8.375 kB / 392.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.00534, allocations: 12.31 kB / 392.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.00546, allocations: 78.22 kB / 392.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.005467, allocations: 4.188 kB / 392.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005475, allocations: 384 / 392.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.00548, allocations: 4.125 kB / 392.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.005538, allocations: 43.98 kB / 392.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.005918, allocations: 303.7 kB / 393.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.005971, allocations: 26.5 kB / 393.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.005989, allocations: 12.92 kB / 393.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.006062, allocations: 4 kB / 393.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.006078, allocations: 34.56 kB / 393.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006079, allocations: 7.875 kB / 393.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.006204, allocations: 45.69 kB / 393.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.006232, allocations: 51.41 kB / 393.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.006308, allocations: 129.8 kB / 393.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.006317, allocations: 29.7 kB / 393.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.006358, allocations: 107.9 kB / 393.5 MB, free: 3.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.006366, allocations: 7.953 kB / 393.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.006394, allocations: 17.7 kB / 393.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.006464, allocations: 318.8 kB / 393.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.006481, allocations: 12.12 kB / 393.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.006498, allocations: 15.98 kB / 393.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.006534, allocations: 28.8 kB / 393.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006536, allocations: 0 / 393.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.597e-05/0.006602, allocations: 69.64 kB / 394 MB, free: 2.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006614, allocations: 8 kB / 394 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006618, allocations: 4.172 kB / 394 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006628, allocations: 0 / 394 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.006683, allocations: 12 kB / 394 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.006687, allocations: 0 / 394 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.006714, allocations: 7.875 kB / 394 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.00672, allocations: 4 kB / 394 MB, free: 2.793 MB / 314.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.006781, allocations: 117.8 kB / 394.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.006796, allocations: 11.94 kB / 394.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.006867, allocations: 45.28 kB / 394.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.006869, allocations: 3.984 kB / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006874, allocations: 0 / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006877, allocations: 3.938 kB / 394.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.006997, allocations: 140.7 kB / 394.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006998, allocations: 0 / 394.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.007009, allocations: 4 kB / 394.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007011, allocations: 4.031 kB / 394.3 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007019, allocations: 0 / 394.3 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00702, allocations: 3.938 kB / 394.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007021, allocations: 0 / 394.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.007113, allocations: 147.4 kB / 394.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.007128, allocations: 7.953 kB / 394.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.007144, allocations: 3.984 kB / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.007174, allocations: 0 / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.007192, allocations: 0 / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.007196, allocations: 7.938 kB / 394.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.007244, allocations: 99.3 kB / 394.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007244, allocations: 0 / 394.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.007428, allocations: 15.94 kB / 394.6 MB, free: 2.113 MB / 314.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004541/0.007882, allocations: 0.6656 MB / 395.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.007955, allocations: 23.98 kB / 395.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.007957, allocations: 4.031 kB / 395.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.007963, allocations: 4 kB / 395.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.008112, allocations: 11.94 kB / 395.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.008435, allocations: 182.2 kB / 395.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.186e-05/0.008477, allocations: 67.34 kB / 395.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.008496, allocations: 3.984 kB / 395.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.008527, allocations: 20.5 kB / 395.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008527, allocations: 64 / 395.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.02132, allocations: 2.261 MB / 397.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.697, allocations: 2.203 kB / 397.8 MB, free: 14.9 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneSource_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_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.532757632434368] Failed to read output from testmodel.py, exit status != 0: 6.775824232026935 6.783206527 6.776880103 Calling exit ...