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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.7 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 197.4 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05402/0.05402, allocations: 8.226 MB / 311.6 MB, free: 2.043 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00239/0.00239, allocations: 67.89 kB / 433.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2596, allocations: 54.35 MB / 488.3 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.001938/0.2616, allocations: 0.9653 MB / 489.2 MB, free: 26.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2629, allocations: 1.129 MB / 490.4 MB, free: 25.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.263, allocations: 1.156 kB / 490.4 MB, free: 25.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.2633, allocations: 71.94 kB / 490.4 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2634, allocations: 38.92 kB / 490.5 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.2639, allocations: 311.5 kB / 490.8 MB, free: 25.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.264, allocations: 60.41 kB / 490.8 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2641, allocations: 28.88 kB / 490.9 MB, free: 25.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.2642, allocations: 26.62 kB / 490.9 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.2642, allocations: 33.95 kB / 490.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2643, allocations: 6.312 kB / 490.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2644, allocations: 66.05 kB / 491 MB, free: 25.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2644, allocations: 13.98 kB / 491 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.2645, allocations: 33.72 kB / 491.1 MB, free: 25.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.2647, allocations: 129.7 kB / 491.2 MB, free: 25.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2647, allocations: 1.062 kB / 491.2 MB, free: 25.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2647, allocations: 0 / 491.2 MB, free: 25.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.2647, allocations: 0 / 491.2 MB, free: 25.29 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006575/0.2654, allocations: 394.7 kB / 491.6 MB, free: 24.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.2655, allocations: 17.83 kB / 491.6 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2655, allocations: 40.02 kB / 491.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2655, allocations: 9.672 kB / 491.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2657, allocations: 163.2 kB / 491.8 MB, free: 24.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2657, allocations: 14.91 kB / 491.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.2657, allocations: 8.281 kB / 491.8 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.2659, allocations: 89.28 kB / 491.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2659, allocations: 3.984 kB / 491.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2659, allocations: 1.094 kB / 491.9 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2659, allocations: 5.094 kB / 491.9 MB, free: 24.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.2661, allocations: 56.81 kB / 492 MB, free: 24.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.2666, allocations: 364.1 kB / 492.3 MB, free: 24.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2667, allocations: 38.94 kB / 492.4 MB, free: 24.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2667, allocations: 15.02 kB / 492.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.2669, allocations: 85.75 kB / 492.5 MB, free: 24.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2669, allocations: 34.55 kB / 492.5 MB, free: 23.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.2669, allocations: 1.406 kB / 492.5 MB, free: 23.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002553/0.2671, allocations: 73.98 kB / 492.6 MB, free: 23.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2672, allocations: 63.33 kB / 492.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.2672, allocations: 111.7 kB / 492.7 MB, free: 23.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.2672, allocations: 25.7 kB / 492.8 MB, free: 23.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.2673, allocations: 107.8 kB / 492.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2673, allocations: 13.64 kB / 492.9 MB, free: 23.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.2673, allocations: 23.41 kB / 492.9 MB, free: 23.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.2674, allocations: 316.7 kB / 493.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.2674, allocations: 16.05 kB / 493.2 MB, free: 23.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.2675, allocations: 18.98 kB / 493.2 MB, free: 23.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.2675, allocations: 44 kB / 493.3 MB, free: 23.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2675, allocations: 0 / 493.3 MB, free: 23.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001302/0.2677, allocations: 71.19 kB / 493.4 MB, free: 23.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2677, allocations: 12.08 kB / 493.4 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2677, allocations: 0 / 493.4 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2677, allocations: 0 / 493.4 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2678, allocations: 13.25 kB / 493.4 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2678, allocations: 5.094 kB / 493.4 MB, free: 23.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.2679, allocations: 5.125 kB / 493.4 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2679, allocations: 5.188 kB / 493.4 MB, free: 23.12 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 (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 6.127e-05/0.2679, allocations: 115.3 kB / 493.5 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.268, allocations: 4.859 kB / 493.5 MB, free: 23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.2681, allocations: 79.23 kB / 493.6 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2681, allocations: 1.062 kB / 493.6 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2681, allocations: 5.062 kB / 493.6 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2681, allocations: 4 kB / 493.6 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.2683, allocations: 184.8 kB / 493.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2683, allocations: 0 / 493.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.2684, allocations: 16.31 kB / 493.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2684, allocations: 0 / 493.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2684, allocations: 1.469 kB / 493.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2684, allocations: 0 / 493.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2684, allocations: 5.375 kB / 493.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2685, allocations: 166.7 kB / 494 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.2685, allocations: 82.94 kB / 494.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.2686, allocations: 0 / 494.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2686, allocations: 7.938 kB / 494.1 MB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.2687, allocations: 7.5 kB / 494.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.2687, allocations: 0 / 494.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.937e-05/0.2687, allocations: 90.45 kB / 494.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2687, allocations: 0 / 494.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000327/0.269, allocations: 24.39 kB / 494.2 MB, free: 22.34 MB / 366.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 (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.0003627/0.2694, allocations: 0.7028 MB / 494.9 MB, free: 21.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.2695, allocations: 36.61 kB / 494.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2695, allocations: 1.375 kB / 494.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.2696, allocations: 22.92 kB / 494.9 MB, free: 21.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2699, allocations: 13.25 kB / 495 MB, free: 21.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.271, allocations: 1.307 MB / 496.3 MB, free: 20.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.2712, allocations: 0.6926 MB / 497 MB, free: 19.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.2712, allocations: 7.125 kB / 497 MB, free: 19.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.2713, allocations: 27.55 kB / 497 MB, free: 19.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2713, allocations: 0 / 497 MB, free: 19.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.2955, allocations: 1.846 MB / 498.8 MB, free: 18.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.828, allocations: 5.344 kB / 498.8 MB, free: 18.6 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.178837997838855] Failed to read output from testmodel.py, exit status != 0: 7.896549221128225 7.91656282 7.648263288 Calling exit ...