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.00131/0.00131, allocations: 109.2 kB / 20.52 MB, free: 1.43 MB / 14.72 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.001525/0.001525, allocations: 208 kB / 23.83 MB, free: 4.645 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.0361/0.0361, allocations: 6.141 MB / 320.2 MB, free: 12.93 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 47.92 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1174, allocations: 55.03 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002674/0.1201, allocations: 0.9941 MB / 0.4895 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1219, allocations: 1.151 MB / 0.4907 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.122, allocations: 0 / 0.4907 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1223, allocations: 79.62 kB / 0.4907 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1226, allocations: 39.7 kB / 0.4908 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.123, allocations: 139.5 kB / 0.4909 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1231, allocations: 59.72 kB / 0.491 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1233, allocations: 24.39 kB / 0.491 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.1234, allocations: 31.86 kB / 0.491 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1235, allocations: 31.86 kB / 0.4911 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1235, allocations: 4 kB / 0.4911 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.1237, allocations: 71.91 kB / 0.4911 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1237, allocations: 7.938 kB / 0.4911 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1238, allocations: 39.84 kB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1241, allocations: 123.6 kB / 0.4913 GB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.1241, allocations: 4 kB / 0.4913 GB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1241, allocations: 4 kB / 0.4913 GB, free: 11.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1241, allocations: 3.938 kB / 0.4913 GB, free: 11.44 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.0006611/0.1247, allocations: 314 kB / 0.4916 GB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1248, allocations: 8.031 kB / 0.4916 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.1248, allocations: 192 / 0.4916 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.1248, allocations: 38.75 kB / 0.4916 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1249, allocations: 20.81 kB / 0.4917 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.125, allocations: 114.5 kB / 0.4918 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.125, allocations: 4.375 kB / 0.4918 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1251, allocations: 12.38 kB / 0.4918 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1252, allocations: 81.8 kB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1252, allocations: 3.938 kB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1253, allocations: 0 / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1253, allocations: 4 kB / 0.4919 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1254, allocations: 55.97 kB / 0.4919 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.126, allocations: 335.6 kB / 0.4922 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1261, allocations: 38.56 kB / 0.4923 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.1261, allocations: 16.98 kB / 0.4923 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.761e-05/0.1262, allocations: 4 kB / 0.4923 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.1263, allocations: 34.56 kB / 0.4923 GB, free: 10.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1263, allocations: 0 / 0.4923 GB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002167/0.1265, allocations: 77.58 kB / 0.4924 GB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1265, allocations: 59.33 kB / 0.4925 GB, free: 10.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1266, allocations: 109.9 kB / 0.4926 GB, free: 9.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1267, allocations: 25.7 kB / 0.4926 GB, free: 9.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.1267, allocations: 104.1 kB / 0.4927 GB, free: 9.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1267, allocations: 19.78 kB / 0.4927 GB, free: 9.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1268, allocations: 21.72 kB / 0.4927 GB, free: 9.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.127, allocations: 314.8 kB / 0.493 GB, free: 9.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.1271, allocations: 19.98 kB / 0.4931 GB, free: 9.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.1271, allocations: 12 kB / 0.4931 GB, free: 9.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/0.1272, allocations: 44.84 kB / 0.4931 GB, free: 9.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1272, allocations: 0 / 0.4931 GB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.1273, allocations: 74.09 kB / 0.4932 GB, free: 9.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1274, allocations: 4 kB / 0.4932 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1274, allocations: 3.984 kB / 0.4932 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1274, allocations: 7.984 kB / 0.4932 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1275, allocations: 11.94 kB / 0.4932 GB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1275, allocations: 4.062 kB / 0.4932 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.1275, allocations: 7.953 kB / 0.4932 GB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1275, allocations: 4 kB / 0.4932 GB, free: 9.273 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 9.833e-05/0.1276, allocations: 113.8 kB / 0.4933 GB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1277, allocations: 3.938 kB / 0.4933 GB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.1279, allocations: 89.61 kB / 0.4934 GB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1279, allocations: 4.25 kB / 0.4934 GB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1279, allocations: 0 / 0.4934 GB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1279, allocations: 0 / 0.4934 GB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.1281, allocations: 164.7 kB / 0.4936 GB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1281, allocations: 0 / 0.4936 GB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1282, allocations: 8 kB / 0.4936 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1282, allocations: 0 / 0.4936 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1282, allocations: 0 / 0.4936 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1282, allocations: 3.938 kB / 0.4936 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1282, allocations: 4 kB / 0.4936 GB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.1284, allocations: 163.4 kB / 0.4938 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.1284, allocations: 15.94 kB / 0.4938 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1284, allocations: 0 / 0.4938 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.1285, allocations: 3.938 kB / 0.4938 GB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1285, allocations: 4 kB / 0.4938 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1285, allocations: 4 kB / 0.4938 GB, free: 8.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.1286, allocations: 83.27 kB / 0.4939 GB, free: 8.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1286, allocations: 0 / 0.4939 GB, free: 8.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1288, allocations: 20 kB / 0.4939 GB, free: 8.52 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.0005842/0.1294, allocations: 0.7046 MB / 0.4946 GB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1296, allocations: 32 kB / 0.4946 GB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1296, allocations: 0 / 0.4946 GB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.1296, allocations: 27.92 kB / 0.4946 GB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1298, allocations: 7.938 kB / 0.4946 GB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1313, allocations: 1.316 MB / 0.4959 GB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1317, allocations: 0.7 MB / 0.4966 GB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.1317, allocations: 8.375 kB / 0.4966 GB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1318, allocations: 23.42 kB / 0.4966 GB, free: 5.578 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1318, allocations: 0 / 0.4966 GB, free: 5.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.155, allocations: 2.011 MB / 0.4986 GB, free: 3.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.86, allocations: 6.188 kB / 0.4986 GB, free: 3.695 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.564718373934738] Failed to read output from testmodel.py, exit status != 0: 12.029068512958474 12.062909754 11.932860046 Calling exit ...