Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.0007502/0.0007502, allocations: 76.52 kB / 19.96 MB, free: 4.602 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.0008483/0.0008483, allocations: 173.9 kB / 23.25 MB, free: 1.316 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.9071/0.9071, 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.02424/0.02424, allocations: 4.476 MB / 264.5 MB, free: 8.762 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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.15e-05, allocations: 2.281 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.001841/0.001863, allocations: 1.202 MB / 390.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003199, allocations: 1.232 MB / 392 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.00327, allocations: 4 kB / 392 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.003588, allocations: 103.4 kB / 392.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.003774, allocations: 59.55 kB / 392.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.004426, allocations: 0.5405 MB / 392.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.004635, allocations: 131.4 kB / 392.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004768, allocations: 53.53 kB / 392.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.004843, allocations: 79.86 kB / 393 MB, free: 4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.004922, allocations: 39.83 kB / 393 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004948, allocations: 16 kB / 393 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.005178, allocations: 143.7 kB / 393.2 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.005201, allocations: 27.91 kB / 393.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.005239, allocations: 43.91 kB / 393.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.005515, allocations: 275.1 kB / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.005517, allocations: 0 / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005519, allocations: 0 / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005522, allocations: 0 / 393.5 MB, free: 3.465 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007759/0.006298, allocations: 493.3 kB / 394 MB, free: 2.949 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.006339, allocations: 8.031 kB / 394 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.006381, allocations: 46.73 kB / 394 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.006421, allocations: 16.84 kB / 394.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.00659, allocations: 149.6 kB / 394.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006605, allocations: 12.38 kB / 394.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.006621, allocations: 16.38 kB / 394.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.006836, allocations: 175.9 kB / 394.4 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006846, allocations: 4.172 kB / 394.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.00686, allocations: 4.375 kB / 394.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006867, allocations: 8.125 kB / 394.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.007, allocations: 112 kB / 394.5 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.007545, allocations: 451.4 kB / 395 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.007966, allocations: 150.5 kB / 395.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.008017, allocations: 32.86 kB / 395.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.19e-05/0.008089, allocations: 11.92 kB / 395.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.008373, allocations: 34.75 kB / 395.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.008375, allocations: 0 / 395.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000638/0.009013, allocations: 278.1 kB / 395.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.009042, allocations: 55.41 kB / 395.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.009125, allocations: 141.7 kB / 395.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.009139, allocations: 25.7 kB / 395.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.009192, allocations: 128.3 kB / 395.8 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.009211, allocations: 31.7 kB / 395.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.009252, allocations: 29.7 kB / 395.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.009332, allocations: 326.8 kB / 396.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.009385, allocations: 32 kB / 396.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.009449, allocations: 61.62 kB / 396.3 MB, free: 496 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.009585, allocations: 101.7 kB / 396.4 MB, free: 388 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009588, allocations: 0 / 396.4 MB, free: 388 kB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000308/0.009896, allocations: 210.2 kB / 396.6 MB, free: 168 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009908, allocations: 8 kB / 396.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009913, allocations: 0 / 396.6 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.01017, allocations: 84.69 kB / 396.7 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-05/0.01021, allocations: 20.02 kB / 396.7 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.0113, allocations: 1.529 MB / 398.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.01134, allocations: 19.89 kB / 398.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01135, allocations: 4 kB / 398.3 MB, free: 14.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.01143, allocations: 125.8 kB / 398.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.01145, allocations: 3.953 kB / 398.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.01175, allocations: 198.8 kB / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01175, allocations: 144 / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01176, allocations: 11.98 kB / 398.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01176, allocations: 7.922 kB / 398.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.0119, allocations: 184.6 kB / 398.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0119, allocations: 0 / 398.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.01193, allocations: 11.98 kB / 398.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.01211, allocations: 76.72 kB / 398.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.01212, allocations: 4.375 kB / 398.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.01309, allocations: 1.514 MB / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01309, allocations: 7.875 kB / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.01339, allocations: 284.4 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.0134, allocations: 15.83 kB / 400.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.01341, allocations: 4 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.01346, allocations: 0 / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.01349, allocations: 11.98 kB / 400.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.0135, allocations: 3.984 kB / 400.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.01354, allocations: 104.8 kB / 400.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01354, allocations: 0 / 400.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.01376, allocations: 51.89 kB / 400.9 MB, free: 11.59 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 (8): * 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: 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000543/0.01431, allocations: 0.8148 MB / 401.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.01471, allocations: 254.5 kB / 401.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01471, allocations: 0 / 401.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.0149, allocations: 198.6 kB / 402.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.01507, allocations: 11.94 kB / 402.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.01682, allocations: 1.767 MB / 403.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.23e-05/0.01689, allocations: 102.8 kB / 404 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.872e-05/0.01692, allocations: 4.734 kB / 404 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.01696, allocations: 44.48 kB / 404 MB, free: 8.23 MB / 330.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01696, allocations: 0 / 404 MB, free: 8.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.03455, allocations: 4.31 MB / 408.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.765, allocations: 11.5 kB / 408.4 MB, free: 4.035 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.62347487732768] Failed to read output from testmodel.py, exit status != 0: 6.849607988260686 7.001458655 6.993058412 Calling exit ...