Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.0008107/0.0008107, allocations: 76.45 kB / 19.97 MB, free: 4.59 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.0008762/0.0008762, allocations: 174.3 kB / 23.25 MB, free: 1.305 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.8862/0.8862, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.02286/0.02286, allocations: 4.474 MB / 264.5 MB, free: 8.777 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.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.061e-05, allocations: 2.281 kB / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.001535/0.001555, allocations: 0.9435 MB / 390.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.00274, allocations: 1.119 MB / 391.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.002784, allocations: 0 / 391.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.003065, allocations: 83.45 kB / 391.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.003206, allocations: 35.7 kB / 391.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.003467, allocations: 123.5 kB / 391.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.003563, allocations: 67.66 kB / 391.9 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003665, allocations: 24.17 kB / 392 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.003709, allocations: 35.89 kB / 392 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.003776, allocations: 23.92 kB / 392 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.00379, allocations: 4 kB / 392 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.003918, allocations: 67.84 kB / 392.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.003932, allocations: 11.92 kB / 392.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.003958, allocations: 19.94 kB / 392.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.004147, allocations: 131.5 kB / 392.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004151, allocations: 3.984 kB / 392.3 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.004153, allocations: 4 kB / 392.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004156, allocations: 0 / 392.3 MB, free: 4.727 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.0004307/0.004587, allocations: 310 kB / 392.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.00463, allocations: 12.03 kB / 392.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.004664, allocations: 38.75 kB / 392.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.00469, allocations: 8.891 kB / 392.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.004782, allocations: 121.6 kB / 392.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004793, allocations: 8.375 kB / 392.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.004804, allocations: 8.375 kB / 392.8 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004933, allocations: 82.23 kB / 392.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004941, allocations: 192 / 392.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.00495, allocations: 384 / 392.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004959, allocations: 11.92 kB / 392.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.005035, allocations: 51.98 kB / 392.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.005407, allocations: 311.7 kB / 393.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.005486, allocations: 42.5 kB / 393.3 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.005515, allocations: 24.92 kB / 393.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.005582, allocations: 7.984 kB / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.0056, allocations: 30.56 kB / 393.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.0056, allocations: 7.938 kB / 393.3 MB, free: 3.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001543/0.005755, allocations: 73.64 kB / 393.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005781, allocations: 55.41 kB / 393.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.005846, allocations: 109.9 kB / 393.6 MB, free: 3.277 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.005855, allocations: 25.7 kB / 393.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.005904, allocations: 99.98 kB / 393.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.005916, allocations: 23.84 kB / 393.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005943, allocations: 17.72 kB / 393.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.006014, allocations: 326.7 kB / 394 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.006037, allocations: 12 kB / 394 MB, free: 2.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.006054, allocations: 16 kB / 394.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.006106, allocations: 48.83 kB / 394.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.006108, allocations: 0 / 394.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.674e-05/0.006185, allocations: 69.69 kB / 394.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006197, allocations: 6.031 kB / 394.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006201, allocations: 0.5469 kB / 394.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006212, allocations: 0 / 394.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.006274, allocations: 11.94 kB / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.00628, allocations: 4 kB / 394.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.006296, allocations: 3.953 kB / 394.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006303, allocations: 7.938 kB / 394.2 MB, free: 2.586 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 (7): * Single equations (assignments): 7 * 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 5.688e-05/0.00636, allocations: 121.8 kB / 394.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.006374, allocations: 7.984 kB / 394.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.006478, allocations: 74.06 kB / 394.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00648, allocations: 0 / 394.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.006484, allocations: 4 kB / 394.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006486, allocations: 0 / 394.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.006848, allocations: 152.6 kB / 394.6 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.006851, allocations: 4 kB / 394.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.00688, allocations: 11.94 kB / 394.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006882, allocations: 0 / 394.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.006889, allocations: 7.984 kB / 394.6 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.00689, allocations: 3.938 kB / 394.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006891, allocations: 0 / 394.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.006983, allocations: 163.5 kB / 394.8 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.00699, allocations: 7.953 kB / 394.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.006999, allocations: 0 / 394.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.007026, allocations: 0 / 394.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.007038, allocations: 7.984 kB / 394.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.007041, allocations: 0 / 394.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.00707, allocations: 87.27 kB / 394.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00707, allocations: 0 / 394.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.007235, allocations: 31.88 kB / 394.9 MB, free: 1.84 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 (6): * Single equations (assignments): 6 * 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.0003002/0.007535, allocations: 0.7084 MB / 395.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.007628, allocations: 43.92 kB / 395.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00763, allocations: 0 / 395.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.007646, allocations: 16.19 kB / 395.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.007799, allocations: 9.031 kB / 395.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.008641, allocations: 1.319 MB / 397 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.008692, allocations: 75.27 kB / 397.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.008717, allocations: 7.984 kB / 397.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.008759, allocations: 20.5 kB / 397.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00876, allocations: 0 / 397.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.02313, allocations: 2.486 MB / 399.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/6.914, allocations: 3.516 kB / 399.6 MB, free: 13.14 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.688816832378507] Failed to read output from testmodel.py, exit status != 0: 6.995832464657724 7.145626666 7.001443236 Calling exit ...